|
Why wouldn't you launch the app directly? There's nothing in a batch file that you couldn't do in script.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dave Kreskowiak wrote:
Why wouldn't you launch the app directly? There's nothing in a batch file that you couldn't do in script.
Simply because it was late and I was lazy. Everytime I had tried launching directly it would mess up. So I made a batch that would launch the app and used a script to launch the batch. Yes I know, it didnt have to be that complicated but that was a while back and it was a personal program.
._._._._._.-.-.-.-.-._._._._._.-.-.-.-.-._._._._._.-.-.-.-.-
Spimoles.NET
clean and elegant. a beautiful craft
|
|
|
|
|
It's not different than launching a batch file. What does the code look like when you try and launch the app?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
vb.NET nubie, trying to print information on a form in a report format. I found a piece of code written by "sylvain2222",but I can't seem to duplicate the code in my project, more specifically, I can't understand where this line of code is coming from ..."Dim fp As FormPrinting.FormPrinting"
Here's part of the code...
Public Class DemoForm
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
'Create FormPrinting object
Dim fp As FormPrinting.FormPrinting
Private Sub ButtonPrintMe_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonPrintMe.Click
CreateFormPrintingObject(Me)
SetProperties()
' Print!
fp.Print()
Me.ButtonTrace.Enabled = True
End Sub
...more code...
Any help would be appreciated.....
|
|
|
|
|
waingee,
There is a couple of ways to go about it.
First, you can take sylvain2222's FormPrinting.dll, that is found in his demo project, and put it in the bin folder of your app project and then create a reference to it in the solution explorer.
Or Second, you can convert his class (FormPrinting.cs) that is in the FormPrinting project(and the src.zip file), inside his demo project to VB.Net and add it as a class to your App project.
I hope this helps
progload
|
|
|
|
|
Thanks Progload,
Your first suggestion did the trick.
God Bless!
|
|
|
|
|
I have the following problem. I have one form, let's call it FrmBase, I use as a template for almost every form in the system. I inherit one form, let call it FrmIn1, and another, called FrmIn2. I call FrmIn2 from FrmIn1 (using a Button) and when I close FrmIn2, automatically FrmIn1 close too. I have to avoid this behavior. Any suggestions?
|
|
|
|
|
Look at the flow of control in FrmIn1. Does the code behind the button that calls FrmIn2 exit the progeam after FrmIn2 unloads? Possibly both FrmIn1 and FrmIn2 objects are being destroyed. Show us some code and we may be able to help more.
...Steve
|
|
|
|
|
The Ubound function of VB 6.0 is good in my computer.
However, when I install my application on another computer which runs on MS Windows 2000 Advanced Server, the error appears.
Why?
Should I add some dll for the Ubound function?
Thanks!
|
|
|
|
|
UBound doesn't have ANY dependancies on the machine or O/S at all.
The problem MUST be with your code. Perhap's your assuming that an array is being created/populated properly, somewhere else in your code, when it's not?
What's the error? What is the code where the error is occuring?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Now I know it is my code problem.
Thank you!
|
|
|
|
|
i have a custom list that controls the look of my web page and that make a scroll visable but some where else in the code another scroll bar is been called so when the page is loaded two appear the one to the right doesnt work but its still visable, i want to get rid of this can anyone help me what i should be looking for im only debugging the code, didnt write it myself
cheers
|
|
|
|
|
From your description of the problem it sounds like one control is inside another control, and it has the scroll bars set to "auto". You'll need to locate the control the list control is in and set the scroll bars off, using code or using the properties box depending on what the other control is.
Hope this helps,
progload
|
|
|
|
|
How i can cancel sellected row in data grid in vb.net.
Thank for your help.
|
|
|
|
|
DataGrid1.SelectedIndex = -1
Jim
|
|
|
|
|
Thank you very much for your help.
|
|
|
|
|
i'd like to find out why my winform apps seem to run fine under XP, but throw exceptions under 2000. Is there something basic that I'm overlooking?
|
|
|
|
|
|
U can atleast post the exception description here
"He that is good with a hammer tends to think everything is a nail." - Abraham Maslow
|
|
|
|
|
"File1.xml
<Files>
<File>
<FileName>
Example1
</FileName>
</File>
</Files>
Now I want to append File1.xml as follow
File1.xml
<Files>
<File>
<FileName>
Example1
</FileName>
</File>
<File>
<FileName>
Example2
</FileName>
</File>
</Files>
What must I do ?
Hung"
|
|
|
|
|
Anonymous wrote:
What must I do ?
Check 'Do not treat <'s as HTML tags', then we can see the XML.
The two options you have are to use an XMLDocument to insert the XML you want, or to use an XMLWriter or just a string to build the XML 'by hand'.
If I could see the XML, I'd be able to help more.
And please delete your anonymous post below.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
File1.xml
<files>
<file>
<filename>Example1
<file>
Now I want to append File1.xml as follow
File1.xml
<files>
<file>
<filename>Example1
<file>
<files>
<file>
<filename>Example2
<file>
What must I do ?
|
|
|
|
|
Anonymous wrote:
What must I do ?
Check 'Do not treat <'s as HTML tags', then we can see the XML.
The two options you have are to use an XMLDocument to insert the XML you want, or to use an XMLWriter or just a string to build the XML 'by hand'.
If I could see the XML, I'd be able to help more.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
How does one integrate html tags into vb.net similar to article cppTooltip? Want a hyperlink like in the article.
Mark Thibodeaux
|
|
|
|