3 yrs, 1.15%
5 yrs, 1.65%
How I translate this to a message box? Or even one step further into the body of an email via my .body = [some vba code].
Thank you for taking the time to report an issue.
What's wrong... Please write below.
Configuration is set to debug.
Installer project is set to DEBUG. VS IDE is set to debug.
I do a clean build and clean install of the DEBUG version. I run x64\msvsmon.exe on remote machine (W2008 R2 64bit). I attach to the process via workstation (XP PRO 32bit) in VS2010 without issue. Everything is set to debug but I get the infamous message breakpoint will not currently be hit,
I also got the following message when I run the project.
The following module was built with optimizations enabled or without debug information:
To debug this module, change its project build configuration to debug mode. To suppress this message, disable the "Warn inf no user code on launch" debugger option
The solution and the projects within it are set for Debug; I deleted the .suo file as recommended in one posting. I ran rebuild on each and every project individually and the entire solution.
I deleted the files in bin\Debug and did the whole thing over again. Still can't debug.
While stepping into (F8) I did get the hollow debug symbol in the margin and when just running the program (F5) the program starts up without stopping at any of several breaks in different functions and subs.
I mean when I open a form some time showing debug error this is being a disadvantage due user using and user can be edit, if debug error just I want OK button only
I get an syntax error when compiling the code below.
Any help will be much apprediated.
Private Sub Command105_Click()
If IsNull(Me!Encryption_Password) Then
Me!Encryption Password = DMin("[Encryption_Password]", "QueryEncryption", "[Encryption_ID]=" & Me!Encryption_Password)
Debug.Print DMin("[Encryption Password]", "QueryEncryption")
Debug.Print LaptopID, Me!Encryption_Password
Returns goes back to the original code.
But when I check the value of the variable in the originals form code with a msgbox. it is blank.
When the code finishes running (there is just one or two lines of code which do not affect the variable). I debug.print strinput and it has a value.
Why does debug.print recognize the value of the variable but the code within the form (it is an afterclick event subroutine) not recognize it? The public variable is declared in the original form.
This is my first time doing 64bit so I never had to worry about it before. Is there something I need to do in the IDE that I don't know about? I went to Project Properties and set things to 64bit debug. But when I compile the program, it makes a 32bit program.
When I try to debug this .cls modules, the control is not going to the particular code line. the properties of my project is alright.
I need to use <EVAL> function for my db, but it does not run.
Example: if I execute this routines (sure enough I build my string)
Sub ChangeIcon() Dim mStr As String mStr = "CommandBars(18).Controls(1).FaceId" Debug.Print Eval(mStr) End Sub
all works well and I see the result (67 for example)
But if I want to change the FaceId, the routines don't show any error, but che FaceId is non changed
Sub ChangeIcon() Dim mStr As String mStr = "CommandBars(18).Controls(1).FaceId" Eval (mStr & "= 3") Debug.Print Eval(mStr) End Sub
value returned always