Running VB.NET Applications in other computers

xmanneke
10-27-2005, 04:53 PM
Split form: http://www.xtremevbtalk.com/showthread.php?t=236045
Please start a new thread instead of replying to threads more than a month old. Thanks

Hi,

I also have a problem like this.

When I create a simple VB.net aplication with only 1 messagebox that is being displayed when the user is pressing a button.

On my computer it works fine but when I try to run the program on my laptop it runs but I can't see the text in my messagebox. Both computers have the .net framework installed.

Thanks

by_m
10-27-2005, 09:15 PM
That's definately strange, I don't know what would cause that. Is there any way you could post the code for this? If it's a lot just post what has to do what the subject.
P.S. Put "vb" at the beginning of your code and "/vb" at the end so it gets formatted nicely.

xmanneke
10-28-2005, 08:02 AM
That's definately strange, I don't know what would cause that. Is there any way you could post the code for this? If it's a lot just post what has to do what the subject.
P.S. Put "vb" at the beginning of your code and "/vb" at the end so it gets formatted nicely.


Hi,

Its just a very simple program with a menu and in that menu there is a file and help in file there is a close command witch works great and in the help there is a very simple messagebox.

But now I found another problem when I put a button on it (even if it doesn't have any code) i also can't see it

the code from the messagebox:

msgbox ("MessageBox Test" , MsgBoxStyle.information, "TEST")


Thanks

by_m
10-28-2005, 09:58 AM
Well, unless it's something very simple like the .visible property being disabled I can't say that I know what's happening. Your message box code looks fine (although it is legacy code, see P.S.) so I don't think that's what's causing your problem. Perhaps you could attach the project files? Be sure to remove any .exe files.

P.S. In VB6 the code to show message boxes was what you did, you can still use that because it's there for backwards compatability, but in VB.net it's supposed to be: "Messagebox.show("MessageBox Test")". It's probably not the problem, but just so you know...

anthony_n
10-28-2005, 10:25 AM
you are creating a deployment package for your application.

Also as By_M says do not use msgbox. use

system.windows.forms.messagebox.show("your message")

xmanneke
10-30-2005, 06:24 AM
Hi,

on the link you can find a .rar with the project file of the app that i was testing out to see if it works.

a .rar with the project file of my app (http://users.pandora.be/xman/.vb)

Thanks

by_m
10-30-2005, 08:44 AM
Works fine here. I don't know what to say other than that it's not a problem with code. It has to be something with the other computer. Perhaps you could post a screenshot of what you are talking about?

xmanneke
11-07-2005, 06:00 AM
Sorry that it took so long for me to answer but I didn't had much time

Here is the screenshot: Screenshot (http://users.pandora.be/xman/.vb/vbprob.JPG)


Thanks for the help.

by_m
11-07-2005, 07:12 PM
I think I have an idea as to what's up here...do you have McAfee VirusScan on your computer? If so, go here: https://software.muohio.edu/Windows/VirusScan_Win.shtml and download the latest patch under the patches section. You should be fine.

xmanneke
11-08-2005, 05:10 AM
I think I have an idea as to what's up here...do you have McAfee VirusScan on your computer? If so, go here: https://software.muohio.edu/Windows/VirusScan_Win.shtml and download the latest patch under the patches section. You should be fine.


Hi,

I do have McAfee VirusScan installed but you need a password to download that patch.

Thanks

by_m
11-08-2005, 05:47 PM
I see. I don't have McAfee myself, so I figured that you would have the password to download it. I would be willing to bet that that's your problem though, do a search and you will find that exactly what you described is due to a problem with McAfee. I don't know where you could download it though, maybe there is a password you have somewhere you don't know about for this...if not I can't really help you.

xmanneke
11-09-2005, 02:48 PM
Hi,

I have found what was causing the problem.
In McAffee there is an option "Buffer Overrun" or something like that and you have to disable that to run those applications.

So now its runs perfectly.

Thanks for all the help.

by_m
11-09-2005, 08:26 PM
Right, I guess that works then. The patch should fix it if you ever feel like you need "buffer overrun"...and can download the patch. It seems though, that it releases the patches through automatic updates of some sort. I don't have McAfee but maybe you could look into that if you are interested.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum