|
If you cant work out these 2 simple functions, given the internet as reference, you should find another line of work.
|
|
|
|
|
hi,
For some time i m using crystalreport in vb.net and it worked fine.but, after some time when i re-opened my crystalreport, then i got the error : Invalid TLV Record. and then my report could not be opened even in design mode.
if u hv some concrete solution then Plz help me out....it's very urgent!
Thanx in Advance,
Sweety Shah.
sgshah
sgshah
|
|
|
|
|
hi,
For some time i m using crystalreport in vb.net and it worked fine.but, after some time when i re-opened my crystalreport, then i got the error : Invalid TLV Record. and then my report could not be opened even in design mode.
if u hv some concrete solution then Plz help me out....it's very urgent!
Thanx in Advance,
Sweety Shah.
sgshah
sgshah
|
|
|
|
|
hi,
i create a windows appliction. where i send mail.how can i do this pls. help
thanks
vipin paliwal
|
|
|
|
|
In framework 1.x use the System.Web.Mail.MailMessage class, in framework 2.0 use the Systen.Net.Mail.MailMessage class.
---
b { font-weight: normal; }
|
|
|
|
|
hi,
i am create window application. i want to look my application XP style.
Pls help .
vipin paliwal
|
|
|
|
|
Create a new module. Add this code
Module Module1<br />
Sub main()<br />
Application.EnableVisualStyles()<br />
Application.DoEvents()<br />
Application.Run(New Form1())<br />
End Sub<br />
End Module
Set you application’s start up object to Sub Main. That’s it
Regards,
Chatura Dilan
|
|
|
|
|
There's a reason why it's called XP styles. The .DLL's that supply the XP styles don't exist on 98 and 2000 and, therefor, you won't get the XP look on those platforms.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi
I'm currently writing an application that involves ticketpinters. Does anyone have any idea how to send information (text) to a ticket printer using visual studio 2003?
help would be greatly appreciated.
thx in advance
elfox
|
|
|
|
|
Can anyone help mi out here...im totally new to vb5 and was ask to do a research on the vb5 coding as to why when usng win XP platform, it works at times only but most of the time it does not work..the problem of coding occurs under the copyfile coding which is objFSO.CopyFile App.path & "\" * Path, strClientPath & path, True
So can kindly anyone help mi out as to why the copyfile cant work in win XP, or any possible reason that could have caused this. Is it because the code copyfile no longer exists or is my coding missing out of anything?
Thanks alot in advanced!!
ps:Thanks Dave!!
Confused Claiborne
-- modified at 4:26 Tuesday 18th April, 2006
|
|
|
|
|
Standard question #1:
What do you mean by "not working"?
---
b { font-weight: normal; }
|
|
|
|
|
Guffa wrote: Standard question #1:
What do you mean by "not working"?
to wad i know it displayed errors
as to wad sort of errors it displayed i guess it juz show errors that stop the program form continue to run or execute
-- modified at 4:46 Tuesday 18th April, 2006
|
|
|
|
|
Standard question #2:
"What errors and on what lines of code do they occur??"
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Almost correct. The exact words are:
Standard question #2:
What error message do you get?
---
b { font-weight: normal; }
|
|
|
|
|
I tried to get it from memory... Oops!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Guffa wrote: Standard question #2:
What error message do you get?
eh...sry the problem is that it did not displayed any error message, the program juz stop. By the way, regard the App.path & "\" * Path the "*" is i typo error,my script is reflected as App.Path & "\" & Path, thz for notifying me, the line of problem occurs at the "objFSO.CopyFile"
Once again,thanks for forking out ur time to help.
Claiborne
|
|
|
|
|
I assume that objFSO is a reference to a FileSystemObject object?
Do you have Norton Antivirus installed? If so, disable Script Blocking. That is known to just hang processes using FSO without an error message or anything.
---
b { font-weight: normal; }
|
|
|
|
|
Guffa wrote: Do you have Norton Antivirus installed? If so, disable Script Blocking. That is known to just hang processes using FSO without an error message or anything.
For this qns, i have nt yet find out will let u kw once i get the ans. thz
Guffa wrote: I assume that objFSO is a reference to a FileSystemObject object?
To wad i know,i was told that objFSO is a variable naming.
Claiborne
|
|
|
|
|
claiborne wrote: For this qns, i have nt yet find out will let u kw once i get the ans. thz
Wy r u wrtn lk dat? Knt u wrt n english? Plz? Pty plz?
claiborne wrote: To wad i know,i was told that objFSO is a variable naming.
Yes, of course it's a variable name. But what is the variable containing?
---
b { font-weight: normal; }
|
|
|
|
|
Guffa wrote: Do you have Norton Antivirus installed? If so, disable Script Blocking. That is known to just hang processes using FSO without an error message or anything.
I do not have any Norton Antivirus installed but i do have Symantec Antivirus installed, so will the same problem exists ??
Claiborne
|
|
|
|
|
Norton Antivius is also a Symantec product, so that is very possible. The products are probably very similar.
---
b { font-weight: normal; }
|
|
|
|
|
Dave Kreskowiak wrote: Standard question #2:
"What errors and on what lines of code do they occur??"
There is no error message, the program juz stop. By the way, regard the App.path & "\" * Path the "*" is i typo error,my script is reflected as App.Path & "\" & Path, thz for notifying me, the line of problem occurs at the "objFSO.CopyFile"
Once again,thanks for forking out ur time to help.
Claiborne
|
|
|
|
|
claiborne wrote: im totally new to vb5
I didn't know anyone still used version 5...
claiborne wrote: objFSO.CopyFile App.path & "\" * Path, strClientPath & path, True
So can kindly anyone help mi out as to why the copyfile cant work in win XP, or any possible reason that could have caused this. Is it because the code copyfile no longer exists or is my coding missing out of anything?
Your problem has nothing to do with XP. More likely, it's how your handling putting these file paths togther. But, without the exact error message, it's kind of difficult to know.
I can already see one problem: App.path & "\" * Path should be
App.Path & "\" & Path<code><br />
Which leads me to a more general problem. Are you checking to see if the source and destination paths exist first? Are you checking to see if you need to append the "\" character to the end of the path before appending the rest of your filepath? I'm will to be you're not...<br />
<br />
<br />
<font color="Blue">Dave Kreskowiak<br />
Microsoft MVP - Visual Basic</font>
|
|
|
|
|
:confusedDave Kreskowiak wrote: I can already see one problem: App.path & "\" * Path should be App.Path & "\" & Path
Which leads me to a more general problem. Are you checking to see if the source and destination paths exist first? Are you checking to see if you need to append the "\" character to the end of the path before appending the rest of your filepath? I'm will to be you're not...
There is no error message, the program juz stop. By the way, regard the App.path & "\" * Path the "*" is i typo error,my script is reflected as App.Path & "\" & Path, thz for notifying me, the line of problem occurs at the "objFSO.CopyFile"
Once again,thanks for forking out ur time to help.
By the way, i juz do some search and found out that the for the source destination normally we put
MySource = "c:\MyFolder\MyFile.txt" but App.Path can be use when need be, am i right to say that? And if App.Path can be used when need be, den can any1 tel mi wad are the situations or cases that App.Path is used instead to replace the normal
MySource = "c:\MyFolder\MyFile.txt"
Claiborne
-- modified at 2:43 Wednesday 19th April, 2006
|
|
|
|
|
claiborne wrote: den can any1 tel mi wad
First, stop with the SMS speak. You have an entire keyboard in front of you, use it. It makes it much easier to understand you.
App.Path is normally sued only when you need to access a file in your application's directory (where your .EXE is installed), or in a well-known subfolder of your application's folder.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|