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?
Hi,
How can I download a pdf and store to disk using vb.net or c#?
The url (of the pdf) has some rediection going on before the final pdf is reached.
I tried the below but the pdf seems corrupted when I attempt to open locally,
Dim PdfFile As FileStream = File.OpenWrite(saveTo)
Dim PdfStream As MemoryStream = GetFileStream(pdfURL)
PdfStream.WriteTo(PdfFile)
PdfStream.Flush()
PdfStream.Close()
PdfFile.Flush()
PdfFile.Close()
many thanks,
KS
i have an excel template and there was a chart there, I was confuse on how can I call that chart when I'm coding in vb.net.. Can anyone help me on how can I call the chart for me to set the new value to fill the chart.. It is possible to call?
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!
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!
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?
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 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 !!!
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.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!
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 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.
Hi there,
Im developing a 3d Viewer in vb.net and xna. Its working very well.
I have now a windows form and a xna render window, but i would like to render it inside a panel in the windows form.
I have searching for info, but its so hard to addapt it into my application.
How can i do it?
Here is the application
Thank you.
Image: img299.imageshack.us/img299/384/87117064.jpg
Using either VB.NET, C#, or VBScript, how can I check if the IIS 6 Management Compatibility feature and its subfeatures have been installed on a machine running IIS 7.x?
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.
i need to download page from source code..for example
Cellini's Italian Restaurant
i want to download the "/len/aaproximat...php"..i didnt find the suitable regex for it..and i need to download that page..can anyone help?
im using vb.net
Sometimes I do this and I've seen others doing it too:
VB:
Try
DontWannaCatchIt()
Catch
End Try
C#:
try
{
DontWannaCatchIt();
}
catch {}
I know I should catch every important exception
and do something about it, but sometimes it's not important to - or am I doing something wrong?
Is this usage of the try block incorrect, and the requirement of at least one catch or finally block an indication of it?
I have an AccessDataSource TestSummaryADS. I can easily view the results in a GridView or DropDownList by setting its DataSourceID property.
How do I bind a value from the results TestSummaryADS to the text of a label?
I'm just trying to populate labels on my page with results from the DB entry.
C# or VB.NET answers okay.