|
Wow! Nothing like using a wrench to hammer in a nail.
Use the correct tool to modify a PDF. Crystal Reports is not that tool.
|
|
|
|
|
I have an exe which i want to publish as a virtual printer so that it can be listed in printer list. How can i do that?
|
|
|
|
|
You need to write a printer driver that accesses your exe
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
How is a orinter driver different from a DLL or an exe and how is it listed in the printer dialog?
my basic aim is to get the programm listed as a printer to which we will send the document to print. Upon recieving the document programm will decide to which physcial printer to send for print.
|
|
|
|
|
I don't know, I suggest you google it.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
You can't do this without writing an actual printer driver that will be the interface (look like) a printer to Windows and do the translating between the Windows printing subsystem and your .EXE. You can't write a driver in VB.NET. It has to be done in C++. I suggest Googling for "Windows DDK". Writing drivers is an VERY advanced topic. One that, because you even asked this question, leads me to believe that it's currently beyond your abilities.
|
|
|
|
|
Hi Guys,
Once you have done extending controls by inheritance (e.g. adding validation for textboxes)
How do you deploy it as part of your VB 2005 IDE? The reason being we want to share the components to other team members.
I can't seem to find deployment how to's for controls...
Thanks!
papaboar newbie for now
|
|
|
|
|
They need to use the same dlls in their projects, you don't deploy to the IDE, but to a project.
You may be able to put them in the GAC, I guess...
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Hi,
Share the dll generated from your project with the Team members. Even if you want to deploy it find the complete documentation on deployment at:
http://www.startvbdotnet.com/extras/deploy.aspx[^]
This article is really good for the beginners.
Hope this helps.
Vinay
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
hi...
how can i check duplicate row values exists or not in the table? i'm using vb.net 2003 and sql server for my database
can u tell me a query which gives me the result regarding ,whether the particular row value already exist or not in the table?
thanx in advance...
modified on Wednesday, May 7, 2008 11:15 PM
|
|
|
|
|
select DISTINCT will ignore duplicate values.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Its as SQL question really - thats where you need to clean it up.
Select keyfield1, keyfield2, keyfield#, count(*)
From anyTable
Group By keyfield1, keyfield2, keyfield#
Having count(*) > 1
There are reams of information on cleansing said tables!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Dear all, I found problem on changing the value which have been set inside my app.config file. I would like to use a window form to change/edit the value inside my cpp.config setting at runtime. The following are my code setting for my Ap.Config file:
?xml version="1.0" encoding="utf-8" ?>
configuration>
appSettings>
add key="Location" value="KK" />
add key="Terminal_ID" value="CTR01" />
add key="MyServer" value="localhost" />
/appSettings>
/configuration>
Hope someone can give me some solution for this here. Thank you for reading!
|
|
|
|
|
Why do you want to edit your app.config file at runtime? It exists to hold constants etc that are used by your app.
-------------------------------------------
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Just bugger off and leave me alone!!
|
|
|
|
|
Its because I want to let the advanced user to change the setting of the TerminalID(define the workstation Identity) and Location(define the location of office locate) when they move the pc. So the server can track what the user running. So I need it to let the advanced user to change the key in app.config file in runtime. Thanks~!
|
|
|
|
|
The best way I've found is to create a settings file, which adds keys to a new section of the app.config, and can be saved at runtime, by changing the value and executing the Save method.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Its a good idea. But how do you do this in VB.NET Window Form Application? Can you give me some sample solution?
|
|
|
|
|
Exactly what I said. Add a settings file to your project properties. These get added to the app.config at compile time, but if you have an instance of this class, you can change the settings and call the save method to update the app.config
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
I'm sorry Mr. Christian Graus. How to add the setting file to my project properties? I'm just a beginner user. Can you give me some details on how to do this??
Thanks for the help.
|
|
|
|
|
Add/NewItem/Settings File
And, please, buy a book.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Ok,thank you Mr.Christian Graus. Sorry to disturb you about this my friend. I'll try to find it out. Sorry~~!
|
|
|
|
|
Look under MyProject in Solution Explorer, enter the setting under the setting tab
In your code use My.Settings to modify the user settings - once you find them they are really simple.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I'm sorry,can you give me further explanation about this? What code should be include for changing the value in my app.config file?
|
|
|
|
|
Did you read the response, do you know what Solution Explorer is, have you opened the VS IDE?
Read the bloody response, try and follow what was suggested, I told you want to type in you code My.Settings. Intellisense will do the rest for you.
You don't manipulate the config file directly you use the My.Settings class to do it, it's built into VS, use it!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Yes,I am still running with my Visual Studio 2003 here. I didn't found any Setting tab on my Solution Exlporer. This is the things I create inside my Project now>> 2 Form, 1 Module and 1 App.Config file. And another Reference file which auto generate by VC2003. So,what should I do next my friend?
|
|
|
|