Click here to Skip to main content
15,916,412 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Cannot connect to a secure database using ADO Pin
Quecumber25619-May-06 8:02
Quecumber25619-May-06 8:02 
QuestionShow() + Focus problem Pin
Phoen2518-May-06 9:28
Phoen2518-May-06 9:28 
QuestionCall VB program with a parm Pin
Sy Black18-May-06 8:44
Sy Black18-May-06 8:44 
AnswerRe: Call VB program with a parm Pin
Joshua Quick18-May-06 17:22
Joshua Quick18-May-06 17:22 
GeneralRe: Call VB program with a parm [modifed] Pin
Scott Serl19-May-06 11:13
Scott Serl19-May-06 11:13 
GeneralRe: Call VB program with a parm [modifed] Pin
Joshua Quick19-May-06 12:06
Joshua Quick19-May-06 12:06 
QuestionHow track and step out of recursive method Pin
erikkl200018-May-06 8:29
erikkl200018-May-06 8:29 
QuestionWindows Service issue!!! Pin
alexvw18-May-06 7:48
alexvw18-May-06 7:48 
Hi everbody,

I am struggling with an error I do not understand. I intend to create a Windows Service to install and run in a SQL server to query a DB every few seconds, and to broadcast a UDP message to all clients within the network so that they can perform a task if need.

Now I created a regular Windows Application for testing purposes, and got it work just fine. The form has only a Timer that, when it ticks, submits the query, and if necessary, builds the message to be broadcasted, and sends it. This works fine.

On the other hand the client apps are listening to the UDP broadcast and are actually performing the appropriate task when they receive the message. This is also working.

Now, when I created the Windows Service, which I can successfully register, install, and start (no errors are shown in the Event Viewer), I copied and pasted the Timer’s event handler code as well as the subs and functions that are need, but nothing happens.

When I attach to the process in order to debug it, I can pause it and the Debugger takes me to an assembler address that shows this error message when examined through the Watch tool “CXX0013: error: missing operand”. Does anybody have a clue what could this be?

I copied and pasted the code from the Service into a new Windows Application, and it works!!! Thank you very much for your time and wonderful help.

Alex.


Still a very lost guy Smile | :)

-- modified at 13:49 Thursday 18th May, 2006
AnswerRe: Windows Service issue!!! Pin
Rizwan Bashir19-May-06 5:05
Rizwan Bashir19-May-06 5:05 
GeneralThanks... Pin
alexvw19-May-06 6:29
alexvw19-May-06 6:29 
Questionerror while running from a network machine Pin
Paps218-May-06 6:19
Paps218-May-06 6:19 
AnswerRe: error while running from a network machine Pin
Dave Bacher18-May-06 7:58
Dave Bacher18-May-06 7:58 
QuestionWhat is the Select Case syntax for Radio Buttons / textboxes in a GroupBox Control? Pin
Rashar18-May-06 5:55
Rashar18-May-06 5:55 
AnswerRe: What is the Select Case syntax for Radio Buttons / textboxes in a GroupBox Control? Pin
Raistlin21_4519-May-06 4:54
Raistlin21_4519-May-06 4:54 
QuestionWindows hook help Pin
Member 296885118-May-06 5:10
Member 296885118-May-06 5:10 
AnswerRe: Windows hook help Pin
MohammadAmiry18-May-06 5:19
MohammadAmiry18-May-06 5:19 
QuestionWebbrowser control help Pin
Member 296885118-May-06 5:06
Member 296885118-May-06 5:06 
QuestionMAPI Pin
cj433118-May-06 5:03
cj433118-May-06 5:03 
AnswerRe: MAPI Pin
Dave Bacher18-May-06 7:41
Dave Bacher18-May-06 7:41 
GeneralRe: MAPI Pin
cj433118-May-06 8:04
cj433118-May-06 8:04 
GeneralRe: MAPI Pin
cj433118-May-06 8:24
cj433118-May-06 8:24 
GeneralRe: MAPI Pin
cj433119-May-06 4:56
cj433119-May-06 4:56 
QuestionApplication.Undo Method Pin
slw1234@sbcglobal.net18-May-06 4:28
slw1234@sbcglobal.net18-May-06 4:28 
Questionproble in landscape and portrait images in asp.net 1.1 Pin
amaneet18-May-06 3:00
amaneet18-May-06 3:00 
AnswerRe: proble in landscape and portrait images in asp.net 1.1 Pin
_AK_18-May-06 19:55
_AK_18-May-06 19:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.