|
We had the same problem, and finally decided to write a small AppVersion.exe that checks a local AppVersion.txt and compares it to the server's AppVersion.txt - if different, it shows a message informing the user that an update is being installed, installs the update from the server, and replaces the local AppVersion.txt from the one on the server. Whether an update was done or not, AppVersion.exe starts a process of the main application and then closes.
The only implementation problem we had was changing all the desktop icons to point to AppVersion.exe instead of the main program.
|
|
|
|
|
hi friends
i want to create a setup project that instal my app and MSDE in vb.net 2008
can you help me please?
M.Alizadeh
|
|
|
|
|
|
my sql is sql server 2000
and in some article i read that i should install msde
do you think installing sql 2005 express is enough ??
M.Alizadeh
|
|
|
|
|
I think SQL Server Express 2005, is the earliest supported version. ideally you should go for SQL Server 2008 express.
|
|
|
|
|
Hello,
Has anyone else had problems opening files on network drives through VB.NET programs using Windows 7? The error on my local machine says:
'(correct path taken out)' could not be found. Check the spelling of the file name, and verify that the file location is correct. If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved, or deleted."
I deployed the program on a windows XP machine and it worked fine.
Any ideas as to what windows 7 security settings that need to be changed?
Thanks!
|
|
|
|
|
Open the path using Explorer - does it ask for a username/password combination?
I are Troll
|
|
|
|
|
No password needed but i think something is set up on log in for access to the network drive so i should have access under my login.
Thanks for the reply
|
|
|
|
|
It is definitely a security issue. Are these windows programs or ASP.Net Apps?
|
|
|
|
|
|
Got it to work by running visual studio NOT in Administrator mode and then rebuilding/installing. Seems the run as administrator has some sort of effect on the end build. Anyone else run into this?
EDIT: This still doesn't work on a different deployment machine running on Windows 7, only on mine.
modified on Friday, July 23, 2010 12:18 PM
|
|
|
|
|
|
Bump what? Post bumping does no good around here.
|
|
|
|
|
I have seen other problems caused by using "Run as Administrator" for example: One of my programs automates outlook and if I use run as administrator then it fails to automate outlook with a strange error
I have no idea why and as it works when run normally I haven't investigated further
|
|
|
|
|
Thanks for the reply!
Yea, seems websites on the local IIS need to be ran as administrator, but doing this with projects causing some issues. Yay for Windows 7 security issues.
|
|
|
|
|
Hi
I haven't been programming for a while, nearly 3 years. So I thought I should refresh my programming knowledge. Last time i did something with vb.net was with Visual studio 2005. But now I have VB.net/VS 2010 available.
How much changes have it been to the language since I last was active? Is all my old textbooks worthless, or can I use these to get up to speed again?
I've also considered to "jump ship" and switch over to C# since I might have to spend some time to get up to speed again.
Any feedback?
/Eiel.
|
|
|
|
|
You'll be fine, yes things have evolved, but it extensions to the core, so you don't have to pick them up straight away.
As for C#, you could learn that in parallel, the classes are basically identical and you will soon pick it up.
|
|
|
|
|
If I install Visual basic 2010 Express edt. will I encounter any problems if I at a later time install Visual Studio 2010 Professional edition?
Any ideas?
/Eiel
|
|
|
|
|
I wouldn't think so, but VS pro does everything + more of VB express, so i would uninstall VB express.
|
|
|
|
|
Have a look at the VB dev center and some of the articles there. they'll give you a good idea of what's new. the most important changes are around LINQ and lambda functions. Then the new stuff in VS 2010 is mostly to do with features that were in C# 3 but not in VB 9, e.g., automatic peoperties, statement lambdas.
Kevin
|
|
|
|
|
I am just getting into using the new TPL library with .NET 4 and I am getting an error when I invoke a sub routine.
The error is cross threaded operation however the error is happening on the line where I dim my myReader variable which is a mySQLDataReader.
I am probably being dense but it seems that would not produce a cross threaded error because I am creating it on new thread.
Any insight would be great thanks.
Humble Programmer
|
|
|
|
|
Without seeing the relevent code, everyone is just guessing at what the problem is.
|
|
|
|
|
Hello ! I'm having a problem with catching all unhandled exceptions, without try ... catch block, so that if my program get's exception that I didn't count on, it could write it to file or send it to me over the net and close "nicely".
So far I've been using this:
' Add the event handler for handling UI thread exceptions to the event.
AddHandler Application.ThreadException, AddressOf ErrorReporting.ReportError
' Set the unhandled exception mode to force all Windows Forms errors to go through
' our handler.
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException)
' Add the event handler for handling non-UI thread exceptions to the event.
AddHandler AppDomain.CurrentDomain.UnhandledException, AddressOf ErrorReporting.ReportError
and it was working perfectly ... Until few days ago Now it doesn't catch anything. Even when I'm running program from Visual Studio 2010, if unhandled exception occurs, my program just shuts off, and Visual Studio doesn't show me where exception occurred or what the exception was ...
Please help me somehow, because this is very frustrating, and it's making programming impossible ...
Thanks
|
|
|
|
|
After trying everything, I've created new project and started to copy parts of my project in which error handling is broken ... And I've found out that my application catches all exceptions until this line:
req = CType(HttpWebRequest.Create(New Uri("http://test.com")), HttpWebRequest)
So what's the problem ? I don't think that I've did any thing wrong. Another interesting thing is that if I change my project to .NET framework 4.0 (currently it's 3.5), it works OK ... So is this kinda of bug in 3.5 or what ?
Thanks
|
|
|
|
|
Read this line from the docs;
Do not use the HttpWebRequest constructor. Use the WebRequest.Create method to initialize new HttpWebRequest objects. If the scheme for the Uniform Resource Identifier (URI) is http:// or https://, Create returns an HttpWebRequest object.
Based on this, you should be doing;
req = WebRequest.Create(), no need for any ctype.
|
|
|
|