|
The rest of the exception text will tell you what dependancy is missing.
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 guys
i have a windows library created in vb.net, now i want to know that how to i can create a html help file of this library ,, thanks in advance ..
hello
|
|
|
|
|
There are tools for doing that, did you google ?
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 All,
Assume that you have an exe. Now you are creating a new application which opens or launches the existing exe. Launching an exe from your application can be done using Shell command.
Now my question is with out opening that exe you have to do operations what you are doing in that exe. eg: If are able to create new record in that exe then from your application you should be able to activate the new button in that exe.?
Thanks
Omprakash
|
|
|
|
|
Basically, if you're writing both apps, you need to write code to create communication between them, probably using WCF, named pipes, or the WM_COPYDATA message.
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 Christian
Thanks for reply.
I am using VB6 to do this. The exe what i am using is not developed by me. So i don't have source code of that exe also.
|
|
|
|
|
What you want to do is very problematic. Using SendKeys and posting mouse messages to another window depends on the input focus NOT being touched by the user using your application. If they click off your target application during an interactive operation, that operation will fail. You'll have no way of knowing it and no way of resetting the target app back to a known state so you can retry the operation.
|
|
|
|
|
Hi Dave
Thanks Dave. Even i tried to send the keys but problem is when you are using send keys if target exe don't have any shortcut keys then it will not work.
Thanks once again.
|
|
|
|
|
I Have been generating a text file using streamWriter in my project.I have to set the readonly attribute of that text file to true.
can anyone please help me to solve this.
thank u
|
|
|
|
|
Google broken where you live ?
Once you have a text file stored on disc, you can get the file attributes and set readonly to be true.
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 )
|
|
|
|
|
Does anyone know how to create a RecoProfile in VB.Net. I would want to create a new Profile and name it from code and not through the speech controls in the Control Panel.
Thanx
|
|
|
|
|
Dhara_Remadhara wrote: RecoProfile
Never heard of it. Perhaps a link to the library you're using might help.
|
|
|
|
|
hi
how would i use a web service to post data from my vb.net client to an asp.net website
plz could someone provide examples
thanks so much
|
|
|
|
|
Any example you could find on the web for consuming a web service will answer this question better than a forum reply can. Of course, your website needs to expose the webservice and use data sent from the webservice in it's pages, for you to send data 'to' an ASP.NET website ( of course, your web service cannot interact with actual pages )
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 )
|
|
|
|
|
Recently I've been tasked with needing to add the ability to and existing VB6 application print to a certain type of printer:
http://global.dymo.com/enUS/Products/LabelWriter_400_Turbo.html
Now, I am aware that I would need the specific driver for this printer, but however I am curious if this particular printer requires anything different for me to actually add it's functionality to the application I'm supporting. This isn't time critical, so no one is in a hurry. So I'm posting this as I'm looking stuff up to help answer my question.
Thanks in advance.
|
|
|
|
|
BREdwards wrote: I am curious if this particular printer requires anything different for me to actually add it's functionality to the application I'm supporting.
No, not really. Windows abstracts printer functionality from your application. All you have to do is be able to handle smaller paper sizes properly.
|
|
|
|
|
Okay, thanks, I managed to find the SDK for the printer and I see how it works. It seems like I only need what I need to print, then run it through the proper subroutines on its way to the printer.
|
|
|
|
|
I suggest contacting the technical support of the maker of the printer for information like that.
|
|
|
|
|
I am using a Crystal Report file like this:
dim ds as new dataset
'filling dataset ...
dim myReport as new crystaldecisions.crystalreports.engine.reportdocument
myReport.load(application.startuppath & "\Report1.rpt")
myReport.setdatasource(ds.tables("Table1"))
'[...]
reportviewer1.reportsource = myReport
Depending on the user, I want one section of my report (one group's footer) to be seen or to be hidden.
When loading the report the described way, how do I get a grip on a certain section or object in myReport in runtime to change some of its properties?
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
The easiest way would probably be to have your report set up to accept a parameter. Then in the report file it would suppress a section or display it based on that parameters value. I would suggest that you research crystal report parameters [^]for more details as to how that is done.
I hope this helps.
|
|
|
|
|
Thanks for the hint. I did what you suggested: I added a boolean parameterfield to my report to which I pass true or false from runtime. Depending on this parameterfield the section is suppressed or shown.
Thanks.
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Hello everyone,
I am new to this forum, and to posting in code forums in general, so i hope i have this in the right place, and i apologize if i don't.
I wrote a VB program that has a function that passes in the date (as an integer such as 28032008) and determines the name of the month (such as March) or the weekday (such as Friday). On my laptop it works great.
Then i tried putting it on another computer and i got the error message:
Conversion from string "28 03 2008" to date is invalid.
At first i thought it might need a .NET update, and after installing all of those, i still had the problem.
And then i realized what was happening - My computer displays the date (today) as 07/04/2008, but on the other computer it is shown as 04/07/2008, so my program and that computer are mixing up the day with the month.
Anyone have an idea how to detect the date format of the local computer so i can have my program adjust accordingly?
Thanks for reading,
Nicholas
|
|
|
|
|
Hi,
you can create a DateTime with known Day/Month/Year (see the constructors) and have it
converted to string in the system's default format (ToString methid), then you can "look"
at the string.
But you probably don't need all this; you can ask the DateTime type to parse a string
according to the system's settings, so it should work for you automatically as long as
the user follows his system's settings.
Of course, you can also override the date format, both in ToString() and in Parse() or TryParse().
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
You are making one of the standard errors nearly all programmers make when starting out, treating date data as a string. ALWAYS store your date data as a date data type NOT a string. If you do this it eliminates this (and quite a few other) issues.
If you must store your date as a string format the string as "dd/MMM/yyyy" this will remove any ambiguity caused by the format and you can reliably convert it into a date data type.
Never underestimate the power of human stupidity
RAH
|
|
|
|