how pass a parameter to onload function??
<body onLoad="myFunction(<%=myVar%>)">
It crashes.
The parameter is a vb variable defined with Dim
The function is a vbscript function
Urgent HELP
I've got a VB.net application. Currently the release version of the application is produced without a PDB file. This gives me error logs lacking useful details such as line numbers.
I'm looking at including the PDB files with future builds but i'd like to know what the advantages and disadvantages of this are (performance wise, size wise, code security wise)
The following VB script check the valid IP by Test function
if we get OK from the test function then
We break from loop ValidIP=OK
If not the inputBox ask the question until ValidIP=OK
But sometimes I want to exit from loop by cancel button
How to break loop by the cancel button (in order to set the ValidIP as OK)
Do Until ValidIP=OK
IPrange=InputBox("Enter IP address range",,"172.17.202.1-10,192.9.200.1-100")
Test IPrange, strPattern
Loop
Yeah folks i need to upgrade from .net 2.0 to 3.0 framework, for a VB.net project.
I have done this upgradation for a C#.net project in VS 2010, but I dont c the option, for it in the properties submenu of the Project Menu.
Thanks in advance
Hi!
I have application in VB.net that have two different form (Form1 and Form2).
Now I need to examine some condition and if condition is true then i set Form1 for startup for
and if it not then i set Form2 for startup form.
So is there anyway to dynamically call startup form?
Thanks!
I seem to remember seeing some neat way of calling InvokeRequired and Invoke to avoid repeating too much code in every event handler but I can't remember what that was.
So does anyone know a neat way of writing that code?
Preferably for VB.Net 2005.
In vb.net how do you check if a ANY directory exists inside a directory
I would need to know if there is a folder inside the c:\windows directory (WITHOUT knowing if there is ANY directory is in there).
you should be able to merge the assemblies... but just wondering if you had a VB.net web app, and then had a C# project, how would you merge the aspx pages?
can it be done?
ho to verify by VB script syntax if the file conf C:\Program Files\conf
exist under Program Files ?
for example
if it exist then msgBox print file exist
if not the msgBox print file not exist
THX
VB 6.0 does not have any global handler.To catch runtime errors,we need to add a handler in each method where we feel an error can occur.But, still some places might be left out.So,we end up getting runtime errors.Adding error handler in all the methods of an application,the only way?
Just as a title say, I need a tutorial to make a simple hotel reservation system. I really need the source code too, but I prefer tutorial because I want to understand the system.
Can someone help ? I need them in VB.NET and the database is SQL Server.
hi guys i need some help the vb.net. my problem is that i have got an formular with "name" "password" "e-mail" and some other.... i want that the client file in his for example name and i want to recieve an e-mail at my e-emil acc. Can somebody help my please?
I would like to make notice of some wierd thing. I designed an entire package application using VB.Net in Visual Studio 2008. I changed the normal backgrounds to Black, to make a diffrerence. but the problem is i1mm getting changing back ground colors when i install it on other systems.which does have all supports required.
What should i do to supress this problem.
I'm creating a search form using an asp:button control with the urlpostback set to a results page. The problem is, the asp:button uses Visual Basic and the search results from Google require Javascript.
Is there a way to take the data from an asp: textbox in VB and then send it to another page that uses Javascript and use the data?
Hello how can I have like a catalog for a property in .net VB .. I mean if i have
Property funcion(ByVal _funcion As Int16) As Int16
Get
Return _funcion
End Get
Set(ByVal value As Int16)
_funcion = value
End Set
End Property
I want to be able to assign to this property a limited number of options.
Example ..
Dim a as trick (the class )
a.funcion = (and get a list of possible attributes) ...
Thanks !!!
Dear all,
I have a excel file place on server.
I am using a application which written by VB.NET to open file in read only mode.
User 1 open file in read only mode.
How can user 2 detect that file is open or not status?
Thanks,
An
i need a regular expressions string to get all anchor tags in a page with a specific css class name, in c#/vb.net
this is what i got so far
"<a.*?href=""(.*?)"".*?>(.*?)</a>"
but my attempts to add "class=name" isnt working, also is it possible to find links where the class name appears either before or after the href with one expression ?
i am familiar with 3rd party html libraries, but thats an overkill for what i have in mind, so is the webbrowser control.
VB.NET 2.0 Framework
I developed a control that implements IExtenderProvider in order to attach to controls and display a form for translating of the text of that control. This works great on regular controls on the form but the IExtenderProvider is not attaching to controls on UserControls, which makes sense.
Is it possible to modify the UserControls or my IExtenderProvider control to enable it to attach to controls on a UserControl?
Thanks!
I need a VB script which will create text file named "listitem" in C:\Documents and Settings\All Users\Application Data\secon\smartapp
up to C:\Documents and Settings\All Users\Application Data\ we can make it as 'CommonAppDataFolder'
Any one knows about this
In VB.net the ANDALSO and ORELSE keywords should basically always be prefered over the AND and OR keywords.
What is the easiest way to disable the AND and OR keywords?
I'm thinking FXCop (maybe somebody has already written this rule).
Maybe just some setting in VS (we're currently using 2008 and are moving to 2010 end of the summer)
I'm open for all suggestions.