Running VB.NET Applications in other computers
Running VB.NET Applications in other computers
Running VB.NET Applications in other computers
Running VB.NET Applications in other computers
Running VB.NET Applications in other computers
Running VB.NET Applications in other computers Running VB.NET Applications in other computers Running VB.NET Applications in other computers Running VB.NET Applications in other computers Running VB.NET Applications in other computers Running VB.NET Applications in other computers Running VB.NET Applications in other computers Running VB.NET Applications in other computers
Running VB.NET Applications in other computers Running VB.NET Applications in other computers
Running VB.NET Applications in other computers
Go Back  Xtreme Visual Basic Talk > > > Running VB.NET Applications in other computers


Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2005, 04:53 PM
xmanneke xmanneke is offline
Newcomer
 
Join Date: Jul 2005
Posts: 19
Default


Edit by moderator: Split form: Running VB.NET Applications in other computers
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

Last edited by wayneph; 10-27-2005 at 06:14 PM.
Reply With Quote
  #2  
Old 10-27-2005, 09:15 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

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.
__________________
170 10101010 410 J31^170
Reply With Quote
  #3  
Old 10-28-2005, 08:02 AM
xmanneke xmanneke is offline
Newcomer
 
Join Date: Jul 2005
Posts: 19
Default

Quote:
Originally Posted by by_m
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:
Code:
msgbox ("MessageBox Test" , MsgBoxStyle.information, "TEST")

Thanks
Reply With Quote
  #4  
Old 10-28-2005, 09:58 AM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

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...
__________________
170 10101010 410 J31^170
Reply With Quote
  #5  
Old 10-28-2005, 10:25 AM
anthony_n's Avatar
anthony_n anthony_n is offline
Senior Contributor
 
Join Date: May 2005
Location: Manchester,England
Posts: 1,293
Default

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")
Reply With Quote
  #6  
Old 10-30-2005, 06:24 AM
xmanneke xmanneke is offline
Newcomer
 
Join Date: Jul 2005
Posts: 19
Default

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

Thanks
Reply With Quote
  #7  
Old 10-30-2005, 08:44 AM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

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?
__________________
170 10101010 410 J31^170
Reply With Quote
  #8  
Old 11-07-2005, 06:00 AM
xmanneke xmanneke is offline
Newcomer
 
Join Date: Jul 2005
Posts: 19
Default

Sorry that it took so long for me to answer but I didn't had much time

Here is the screenshot: Screenshot


Thanks for the help.
Reply With Quote
  #9  
Old 11-07-2005, 07:12 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

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.
__________________
170 10101010 410 J31^170
Reply With Quote
  #10  
Old 11-08-2005, 05:10 AM
xmanneke xmanneke is offline
Newcomer
 
Join Date: Jul 2005
Posts: 19
Default

Quote:
Originally Posted by by_m
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
Reply With Quote
  #11  
Old 11-08-2005, 05:47 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

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.
__________________
170 10101010 410 J31^170
Reply With Quote
  #12  
Old 11-09-2005, 02:48 PM
xmanneke xmanneke is offline
Newcomer
 
Join Date: Jul 2005
Posts: 19
Lightbulb

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.
Reply With Quote
  #13  
Old 11-09-2005, 08:26 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

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.
__________________
170 10101010 410 J31^170
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Running VB.NET Applications in other computers
Running VB.NET Applications in other computers
Running VB.NET Applications in other computers Running VB.NET Applications in other computers
Running VB.NET Applications in other computers
Running VB.NET Applications in other computers
Running VB.NET Applications in other computers Running VB.NET Applications in other computers Running VB.NET Applications in other computers Running VB.NET Applications in other computers Running VB.NET Applications in other computers Running VB.NET Applications in other computers Running VB.NET Applications in other computers
Running VB.NET Applications in other computers
Running VB.NET Applications in other computers
 
Running VB.NET Applications in other computers
Running VB.NET Applications in other computers
 
-->