|
|
and the problem you are experincing is what? Or are you just boasting and need help with that?
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
Thanks for your concern about my problem. I am working with .net 2005
this is the first time I am working with printers. Actual requirement is like as follows
Here we have a requirement like printing pdf file through different trays of a printer. This program should be a windows service.
eg:-
Suppose a pdf file has 100 pages. and a printer has 3 trays.
our Service should able to print 1 to N in tray1,
N+1 to M in tray2 and
M+1 to 100 in tray3.
Where N and M are whole numbers with in the range of 2 to 99.
This is my requirement. I found how to print PDF, for that we have to use some dll of adobe. but I am unable to write the code to send the pdf document to different trays of printer.
I think this time you underastand better. I am also new to working with printers, I am unable explain more clear, I am sorry for that.
Thanks and Regards,
sudhakar venati,
Mob: 0 984 55 989 71.
|
|
|
|
|
Hi,
I have a problem with a dbf file.
I can execute a sql statment("select * from dbf file") but when I try to put the information from the file in a dataadaptor I have this error:
ERROR [HY000][Microsoft][ODBC dBase Driver] Could not lock table ''; c Could not lock table ''; currently in use by user '(unknown)' on machine '(unknown)' .
I searched on Google about this error but I didn't find what I need.
Thanks .
|
|
|
|
|
This question has nothing to do with VB(.NET).
You would be better posting this question on a dBase forum. These forums are mainly for Microsoft technologies.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi Everybody,
I want to give the lock & copy protection facility to my product in the USB drive. Is there any ActiveX component to give locking facility and copy protection for my folders inside the USB?. Because if it is available, then i can use the ActiveX control and access the files inside the folder using my program. Thanks
Thanks & Regards
Kumaran
|
|
|
|
|
I am from Afghanistan. I am developing an application which has connectiviy with sql server using vb.net and i have crystal reports in my application.
i can open crystal reports in my computer but in other computers i recieve an exception as
'The Type initalizer CrystalDecision.Shared.Report Document throw exception'
i would really appreciate ur assistance
|
|
|
|
|
Check the stack trace and inner exceptions. You are most likely missing a library (DLL) that crystal reports requires.
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
Thanks for reply I really appreciate you.
I have imported these five .Dll Files and still i am recieving the same exception ('The Type Intializer CrystalDecision.Shared.Report Document throw an exception')
1.CrystalDecisions.CrystalReports.Engine.dll
2.CrystalDecisions.ReportSource.dll
3.CrystalDecisions.Shared.dll
4.CrystalDecisions.web.dll
5.CrystalDecisions..Windows.forms.dll
thanks in Advance for you assistance.
|
|
|
|
|
I would suggest you download the Crystal Report merge module from the CrystalDecisions website, then include the merge module in your Setup/Distribution package.
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
My Question is "If the constants in .tlb file updated the dependent dlls on the .tlb file need to compiled again?".
|
|
|
|
|
How can I subpress the message of Secure Sockets Layer while displaying a website that is secured by Secure Sockets Layer and Private Communications Technology.
I use a WebBrowser control to navigate to sites in my vb.net application. One of the site is a secure site. when the page gets loaded a message is displayed asking :
The Page contains both secure and nonsecure items.
Do you want to display the nonsecure items ?
When i click on the Yes button then only the correct page is displayed.
Is there any settings for this, so that the message doesn't irritates me everytime i navigate to a secure site ?
Please Help. Thanks in Advance.
Sekhar
|
|
|
|
|
This is a global IE setting (read:problem ), not a VB one. Try googling it . Link[^]
|
|
|
|
|
Hey Everyone,
I've got a windows application and I want to know if anyone has or knows any code for FTPing files through the system. The code I've got so far is here, but I think I'm missing a class which I've failed to find. If anyone has different code that works, then that would be greatly appreciated!
This is what I have so far out of interest:
Dim ftp As New Chilkat.Ftp2() <----- This is my error, Chilkat.FTP2() isn't defined!!!
Dim success As Boolean
' Any string unlocks the component for the 1st 30-days.
success = ftp.UnlockComponent("Anything for 30-day trial")
If (success <> True) Then
MsgBox(ftp.LastErrorText)
Exit Sub
End If
ftp.Hostname = "ftp.chilkatsoft.com" 'What's the host name?
ftp.Username = "****" 'What's the username?
ftp.Password = "****" 'What's the password?
'The default data transfer mode is "Active" as opposed to "Passive".
'Connect and login to the FTP server.
success = ftp.Connect()
If (success <> True) Then
MsgBox(ftp.LastErrorText)
Exit Sub
End If
' Change to the remote directory where the file will be uploaded.
success = ftp.ChangeRemoteDir("junk")
If (success <> True) Then
MsgBox(ftp.LastErrorText)
Exit Sub
End If
' Upload a file.
Dim localFilename As String
localFilename = "hamlet.xml" 'Change that to the file I have to upload
Dim remoteFilename As String
remoteFilename = "hamlet.xml" 'Like wise.
success = ftp.PutFile(localFilename, remoteFilename)
If (success <> True) Then
MsgBox(ftp.LastErrorText)
Exit Sub
End If
ftp.Disconnect()
MsgBox("File Uploaded!")
Cheers,
Michael
|
|
|
|
|
Well, first off, do you have the Chilkat FTP library[^]?? And have you added a reference to it in your project??
|
|
|
|
|
Hello Friends,
In my application i have to transfer a number of files from one folder to another folder on the same machine.
I am unable to fetch multiple files and also help me how to store these files to another location.
Thanks in advance............
Deepak Nigam
|
|
|
|
|
Look in the System.IO namespace, at the File, FileInfo, Directory, and DirectoryInfo classes. They're very easy to use. Just make sure you remember to use fully qualified path names to all of your files and directories.
|
|
|
|
|
Dim str as string()
str=system.IO.Directory.GetFiles ("D:\Test")
for each fname as string in str
system.io.File.copy(fname,"D:\Test1")
next
|
|
|
|
|
Hi there,
I am working on project using Visual Studio 2005 VB.NET. The problem is that when I try to run Application in non .NET platform (i.e. Windows XP but .net is not installed) it does not run(I know it won't)!
Is there any way to develop non .net application in Visual Studio 2005??? It's urgent because I'm really stuck on this.
Thanks
-----------------------
Parth Patel
|
|
|
|
|
killerp wrote: Is there any way to develop non .net application in Visual Studio 2005???
Yes - use C++ and make sure you don't use C++/CLI ( use MFC instead )
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks, Christian Graus
But for me it would be just waste of time and everything if i develop this application again C++.
This software is for school kids and the network do not have .NET installed on normal PCs and unfortunately as it has more than 150 workstations the Network Admin has refused to install it, which has just messed up everything... So before I go any further I just wanted to know if I can do it anyway around!!
|
|
|
|
|
You could use one of the few products that compiles the required parts of the .NET Framework into your .EXE. But, they're very expensive to buy and there are no "free" versions.
If money is an issue, you simply have no alternatives. Either they install the .NET Framework, or you start rewriting in C++.
|
|
|
|
|
Thanks for your reply.
Do you know any software that will do what you said? Compile .NET code into EXE? Becuase I will then have to take decision.
|
|
|
|
|
|
You could always create a setup package that will install the .NET Framework along with your app on those machines.
|
|
|
|