|
Under the Tools/Options menu in VS, click on Debugging in the left window. There is an option to "Redirect all Output Window text to the Immediate Window" (at least in 2005 anyway!). Make sure that option is not checked.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hello i have a problem with the 'system.web.mail'. when i write imports system.web. the mail cannot appear!! All i have is System.web.AspNetHostingPermission and AspNetHostingPermissionAttribute and AspNetHostingPermissionLevel! How can i bring the system.web.mail!? Can someone tell me please!! Thanks ALOT!!
|
|
|
|
|
Did you set a Reference to the System.Web.dll file?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
No. How can i do that? Please?
|
|
|
|
|
In the Solution Explorer window (top right of Visual Studio), right click the References folder, click Add Reference. In the dialog that pops up, scroll down the list until you see System.Web. Double click that line, then click OK.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
Hi all,
I have a program that was developed using VB (I am not sure wich version of VB) for windows 95 at the year 97. I tryed to upgrade the OS to windows XP, however, the program did not work as expected, many error messages start to come.
If anyone has an idea on how to solve this problem, please answer for this message.
|
|
|
|
|
Without knowing the error messages that your getting, it's really hard to diagnose.
But, I would possibly trying reinstalling the application. It's possible that the VB runtime files that your app needs don't exist anymore.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi All,
I have a requirement where in i need to convert the results which i have in the Datareader to a xmldocument. Currently i do create xmlnodes for each column and using the create element i create the xmldoc.
See code below
Dim NameNode as xmlnode
Dim Clientname as xmlnode
NameNode = addnewnode.AppendChild(XMLDoctosend.CreateElement("Name"))
NameNode.InnerText = MatchingRecordsRdr.GetString(0)
Clientname = addnewnode.AppendChild(XMLDoctosend.CreateElement"ClientName"))
Clientname.InnerText = MatchingRecordsRdr.GetString(1)
But currently i have more than 10 columns in that table. Is there a best way of doing this other than creating a node for each column ?
Please help
Thanks
|
|
|
|
|
You can either do it this way, or you can fill a DataSet object, instead of using a DataReader, and have the DataSet object save the data in an XML file itself.
DataSet.WriteXml[^]
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi
Thanks for the reply. I sorted it out by creating a small function which takes in the parameters as the node name and xmldoc reference.
Thanks anyway.
|
|
|
|
|
Hello i've some question here..
i've try to create my SIMD function in c++, then convert it to dll which can be call from vb. but i got an error "vb6 unexpection error handling:.
can anyone give idea about this problem..
I've upgrade my visual studio with SP5. when i run the program in c++ alone, i've no problem to execute it but when i create a dll and calling this function from vb an error occur.
help me please
|
|
|
|
|
j_Lee wrote:
calling this function from vb an error occur
And that would be?? We need the EXACT message.
You can't make just any .DLL and expect it to work. You have to write your C++ code to either expose it's methods to COM so they can be consumed by another COM based app, like any VB6 app, or to export those methods. How to do that is a question for the C++ Forum, not VB.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dear dave..
thanks for the reply ...
actually when i run it, my application is shutdown, and when i try to debug this message appear:
"unhandled exception in VB6.EXE(f.dll): 0XC0000005 : Access Violation"
thanks for your suggestion, i'll take note about it
|
|
|
|
|
You're function did something bad. More often than not, it's because of passing parameters incorrectly.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
how can i add comboboxes for all records inside datagrid.
Manikant Kasumwal
Software Engineer
R Systems International Ltd.
|
|
|
|
|
this article is an excellent example of how to do this.
good luck.
-jim
|
|
|
|
|
I have 20 checkboxes in a form.
My requirement is to check them all and uncheck them all using a single click of a button.
But I dont want to write the whole junk code like
checkbox1.checked=...
....
....
....
I just want to do this using a single loop.
How do I achieve this?
Regards
litesh80.
|
|
|
|
|
Create a control array and then use a For Next loop to iterate through the checkboxes.
...Steve
|
|
|
|
|
Once i have packaged a vb.net windows application then if there are any further changes do i need to all over again package the application
|
|
|
|
|
Windows Installer allows you to upgrade components of an installed application. However, this is a complex operation, and the setup authoring tools provided by Visual Studio do not support the necessary capabilities.
So a simple answer is unless you are willing to devote a fairly considerable amount of time and effort towards mastering the complexities of Windows Installer, your only option is to repackage the entire application, have the user uninstall the old version, and then reinstall the new version.
|
|
|
|
|
This question is a toughy, for all you experts out there.
I have a couple of projects that are about ready to be deployed.
But you see, I'm selling this to other franchisees in a company where stealing and corporate swindling is commonplace. So I need a way to give my project a Product Code, and a way to only allow ONE install per copy of the program. I know there is a way to do this, but I hear it's incredibly hard to do.
Also, if it is possible, I would like to do this with some Excel workbooks as well.
thanks ahead of time for any help,
stephen
oh, and I'm using Visual Basic .NET Standard, if that helps.
|
|
|
|
|
The only way to make each installer work only once is to have each installer use a unique key, which it first registers online, to see if it's already been installed. At least, that's all I can think of.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
this is true, but what about cracks? all you would need to do is copy the unlocked exe to another computer. i guess maybe have the app check for the code every time it opens... store the key in a .txt and encrypt it...?
|
|
|
|
|
medicenpringles wrote:
but what about cracks?
Welcome to the world of 'your software is only safe until someone REALLY wants to steal it'
medicenpringles wrote:
all you would need to do is copy the unlocked exe to another computer.
I'd be inclined to back that up with some sort of registry key or other mechanism so that moving the app folder to another PC will not work.
medicenpringles wrote:
i guess maybe have the app check for the code every time it opens..
No, that makes it easier to sniff and crack, I'd have thought. As well as requiring the user to be online ALL the time.
medicenpringles wrote:
store the key in a .txt and encrypt it...?
Perhaps if you generate a key based on the machine specs, and then check against that when you run, so moving to another machine, even with registry keys, will not work as the key will change. That's what Windows does, it installs as many times as you like, but the installed copy won't run until you get that key. The trouble is, this means a hacker only has to skip the key code, and of course your VB.NET app can be decompiled.
Christian Graus - Microsoft MVP - C++
|
|
|
|