Click here to Skip to main content
15,920,603 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalgive vb code Pin
nazerudeen9-Jul-04 2:15
nazerudeen9-Jul-04 2:15 
GeneralRe: give vb code Pin
Dave Kreskowiak9-Jul-04 3:45
mveDave Kreskowiak9-Jul-04 3:45 
Generalgive vb code Pin
nazerudeen9-Jul-04 1:54
nazerudeen9-Jul-04 1:54 
GeneralRe: give vb code Pin
Dave Kreskowiak9-Jul-04 3:42
mveDave Kreskowiak9-Jul-04 3:42 
GeneralPassing Parameter value from VB.net to MySql Pin
Member 12217979-Jul-04 1:39
Member 12217979-Jul-04 1:39 
GeneralRe: Passing Parameter value from VB.net to MySql Pin
The Man from U.N.C.L.E.19-Jul-04 7:24
The Man from U.N.C.L.E.19-Jul-04 7:24 
GeneralRe: Passing Parameter value from VB.net to MySql Pin
Member 122179719-Jul-04 16:26
Member 122179719-Jul-04 16:26 
QuestionProblems calling form from windows service? Pin
mythinky8-Jul-04 23:18
mythinky8-Jul-04 23:18 
I have a window service (Project1) that call a form. The form i called is "Form1". If the form1 has load the form, and then it will call the Form2. The Form1 and form2 is in one project, called Project2. When I run the Project2, the form1 and form2 shows okay. No error on it. There are no error messsage at all. Problem is when i call form1 from the windows service, it will call form2. The Form2 won't display cause i set it minimized, but it has a notify icon, once i click the notify icon, it will show me the the form.
1. When I click it, the problem comes is System.Windows.Form: '0' is not a valid for 'value'. 'value' should be between 'minimum' and 'maximum'

the Form2 is default i set the ShowInTaskBar to False, WindowState to Minimized.
When I click the notify icon, I set ShowinTaskBAr to true, and WindowState to Normal.
The ShowinTaskBar works fine, but the WindowState doesn't work. How can be like this?
Error message is System.Windows.Form: '0' is not a valid for 'value'. 'value' should be between 'minimum' and 'maximum'

If we just click the error message, then we click again the notify icon, it will show the form control bar, without showing the body of the form. We need to resize it in order to see the body of the form. The datagrid in the first tabpage will have data, but the datagrid in second and third tabpage will have no data. This is also the error.

As I said before, there are no problems running project2 manually, but problem come when i call it from windows service(Project1). The tabpage also got no problems. I've set the service to interact to desktop already.
Anyone can help me get out from this problem?
Thanks in advance

Learning .NET

GeneralParallel port vs VB.net vs ASP.net Pin
marcus_gsh8-Jul-04 20:54
sussmarcus_gsh8-Jul-04 20:54 
GeneralRe: Parallel port vs VB.net vs ASP.net Pin
Dave Kreskowiak9-Jul-04 2:37
mveDave Kreskowiak9-Jul-04 2:37 
GeneralIE Explorer Toolbar - like google Pin
Claudio Chiappetta8-Jul-04 17:50
Claudio Chiappetta8-Jul-04 17:50 
GeneralRe: IE Explorer Toolbar - like google Pin
Dave Kreskowiak9-Jul-04 5:35
mveDave Kreskowiak9-Jul-04 5:35 
Generalsaving the state of a textbox in Windows application Pin
Anonymous8-Jul-04 10:41
Anonymous8-Jul-04 10:41 
GeneralRe: saving the state of a textbox in Windows application Pin
Dave Kreskowiak8-Jul-04 11:15
mveDave Kreskowiak8-Jul-04 11:15 
GeneralRe: saving the state of a textbox in Windows application Pin
Anonymous9-Jul-04 3:22
Anonymous9-Jul-04 3:22 
GeneralRe: saving the state of a textbox in Windows application Pin
beowulfagate8-Jul-04 13:06
beowulfagate8-Jul-04 13:06 
GeneralRe: saving the state of a textbox in Windows application Pin
Anonymous9-Jul-04 4:15
Anonymous9-Jul-04 4:15 
GeneralRe: saving the state of a textbox in Windows application Pin
Anonymous9-Jul-04 10:27
Anonymous9-Jul-04 10:27 
GeneralRe: saving the state of a textbox in Windows application Pin
beowulfagate9-Jul-04 14:05
beowulfagate9-Jul-04 14:05 
GeneralRe: saving the state of a textbox in Windows application Pin
Anonymous10-Jul-04 17:12
Anonymous10-Jul-04 17:12 
GeneralFinding The Local Domain Pin
bward19728-Jul-04 5:39
bward19728-Jul-04 5:39 
GeneralRe: Finding The Local Domain Pin
Dave Kreskowiak8-Jul-04 6:45
mveDave Kreskowiak8-Jul-04 6:45 
Generalcommon dialog control Pin
johnjsm8-Jul-04 0:08
johnjsm8-Jul-04 0:08 
GeneralRe: common dialog control Pin
beowulfagate8-Jul-04 1:16
beowulfagate8-Jul-04 1:16 
GeneralRead Operation from parallel port Pin
marcus_gsh7-Jul-04 20:33
sussmarcus_gsh7-Jul-04 20:33 

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.