Click here to Skip to main content
15,894,343 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Value of '0' is not valid for 'emSize'. 'emSize' should be greater than 0 and less than or equal to System.Single.MaxValue. Pin
varshavmane11-Jul-07 20:16
varshavmane11-Jul-07 20:16 
GeneralRe: Value of '0' is not valid for 'emSize'. 'emSize' should be greater than 0 and less than or equal to System.Single.MaxValue. Pin
RepliCrux11-Jul-07 20:36
RepliCrux11-Jul-07 20:36 
GeneralRe: Value of '0' is not valid for 'emSize'. 'emSize' should be greater than 0 and less than or equal to System.Single.MaxValue. Pin
Luc Pattyn12-Jul-07 0:27
sitebuilderLuc Pattyn12-Jul-07 0:27 
QuestionWindows service Database problem Pin
Taduri11-Jul-07 15:28
Taduri11-Jul-07 15:28 
AnswerRe: Windows service Database problem Pin
Alpesh Donga11-Jul-07 20:17
Alpesh Donga11-Jul-07 20:17 
GeneralRe: Windows service Database problem Pin
Dave Kreskowiak12-Jul-07 4:27
mveDave Kreskowiak12-Jul-07 4:27 
AnswerRe: Windows service Database problem Pin
Dave Kreskowiak12-Jul-07 4:28
mveDave Kreskowiak12-Jul-07 4:28 
GeneralRe: Windows service Database problem Pin
Taduri13-Jul-07 8:54
Taduri13-Jul-07 8:54 
Thanks for reply...

Vb_file.exe is using correct username and password, it is using systemdsn to connect Database.

If I open start -> Run and type C:\vb_file.exe /send it is working fine and displaying GUI... and I checked in Event Viewer -> Application log it was not displaying any error.

same thing I am doing in Windows service written in C#..

My Intention is just display VB Application GUI through Windows Service...VB Application is connecting to DB using SystemDSN

Code I am written..

Process p;
string FilePath = @"C:\vb_file.exe ";
string arg = " /send";
p = Process.Start(FilePath, arg);

Service Interactiing with Desktop option is selected...

Once I started service and checked Event Viewer -> Application log ..it is showing below error...

Event Type: Error
Event Source: VBRuntime
Event Category: None
Event ID: 1
Date: 7/13/2007
Time: 9:33:41 AM
User: N/A
Computer: xxxx
Description:
The VB Application identified by the event source logged this Application vb_file: Thread ID: 2704 ,Logged:
vb_file Rev. 30-Apr-03T /send /RESTART
ODBC condition 18456, State=28000, RetCode=-1
28000: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'sa'.



Please let me know if you need further info..






Thanks in advance
Taduri
GeneralRe: Windows service Database problem Pin
Dave Kreskowiak13-Jul-07 9:04
mveDave Kreskowiak13-Jul-07 9:04 
GeneralRe: Windows service Database problem Pin
Taduri16-Jul-07 6:44
Taduri16-Jul-07 6:44 
QuestionNitgen hamster source code Pin
perumala10-Jul-07 2:17
perumala10-Jul-07 2:17 
AnswerRe: Nitgen hamster source code Pin
Christian Graus10-Jul-07 2:42
protectorChristian Graus10-Jul-07 2:42 
GeneralRe: Nitgen hamster source code Pin
Paul Conrad16-Jul-07 9:55
professionalPaul Conrad16-Jul-07 9:55 
AnswerRe: Nitgen hamster source code Pin
martin_hughes11-Jul-07 5:14
martin_hughes11-Jul-07 5:14 
AnswerRe: Nitgen hamster source code Pin
Pete O'Hanlon11-Jul-07 22:55
mvePete O'Hanlon11-Jul-07 22:55 
QuestionHelp Mi pls... Pin
icebearer7-Jul-07 6:47
icebearer7-Jul-07 6:47 
AnswerRe: Help Mi pls... Pin
Tirthadip9-Jul-07 0:22
Tirthadip9-Jul-07 0:22 
AnswerRe: Help Mi pls... Pin
Christian Graus9-Jul-07 1:03
protectorChristian Graus9-Jul-07 1:03 
QuestionUserControl and AutoSize Pin
robheffo6-Jul-07 18:15
robheffo6-Jul-07 18:15 
AnswerRe: UserControl and AutoSize Pin
Richard Blythe7-Jul-07 14:06
Richard Blythe7-Jul-07 14:06 
QuestionHow to get CurrentRowIndex in vs 2005 Pin
samerh5-Jul-07 23:10
samerh5-Jul-07 23:10 
AnswerRe: How to get CurrentRowIndex in vs 2005 Pin
Giorgi Dalakishvili6-Jul-07 1:09
mentorGiorgi Dalakishvili6-Jul-07 1:09 
GeneralRe: How to get CurrentRowIndex in vs 2005 Pin
samerh6-Jul-07 1:39
samerh6-Jul-07 1:39 
QuestionMDI and Child forms ISSUE Pin
pashitech5-Jul-07 4:52
pashitech5-Jul-07 4:52 
AnswerRe: MDI and Child forms ISSUE Pin
RepliCrux11-Jul-07 18:56
RepliCrux11-Jul-07 18:56 

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.