Answer Questions
laiseng I have problem with msgbox
hello I new my problem is that msgbox doesn’t work good when i run de program text of the buttom doesn’t see. I was reading and my problem is because I have mcafee virus scan 8 and I need a Hot fix VSE80P09.Zip but I don’t have. can you help me please you need to visit the McAfee web site to download the fix or upgrade you AV software ...Show All
fusi0n ado.net
Why Microsoft net team not introduce a managed recordset. This method of develop data-driven application in not depending from a technology (com-based dlls), but is a system to access the data. The syntax is more clear than cmd, parameters, insert. updates. When I've updated a table I close the cnn immedetiately! I read on DLINQ.. beautyful, but the SQL syntax is changed in a c# or vb project. This not help upgrading application/technology. I hope that Ma' Soft think about this problems! At end the result is the same. regards make an data access system more simply is request the world Microsoft change every 2 years the data access strategy. First DAO, and DAO was dead, after ADO, if tou use ...Show All
Aaron Oneal SCRNSAVE.EXE
Hi everybody, I would like to temporary change the value of the key SCRNSAVE.EXE, and make it active without a reboot. Can sombody tell me if this is possible I tried to understand and use the SystemParameterInfo, but with no luck so far. Thanks!! Jurgen I have never had to change this value myself but have a look here . Its a VB6 solution that I am sure you could adapt accordingly. here is a sample http://www.codeproject.com/vb/net/screensavernow.asp ...Show All
Johan Nordberg Windows Service ~ Service started successfully - NOT!
Hi, I've developed an app as a windows service, which in the OnStart event calls an Init routine which sets up the service, check connection to dB etc, dump a log to the EventLog, and returns a True or False. If I get a False back, I execute a Me.Stop. In the event log, I see the log I dumped, then "Service stopped successfully.", then a "Service started successfully." message. It looks like these last two msgs are being output when the OnStop/OnStart events complete. How do I get my service to NOT output the "Service started successfully." msg when the Init routine fails, and instead output a "Service did NOT start successfully." or similar instead Many thanks ...Show All
Patrick251 Form show unrequested
To get some experience using VBE, I converted a simple program I once made for myself(VB5). It's a birthday calendar, using a VB5 commandbutton for each day of the year, i found that VBE has great problems handling this many controls, it is slow, very slow and realy unworkable. Some where else in this forum I found that others with a lot of controls experience the same problems and there is no neat solution for it. In the mid 80's the basicinterpreter was quicker than this VBE with a machine that is 2000 times faster. Another problem I have is that the main(start) form of the program shows up unrequested. In the load section of the (start)form I show another form from which I normally select whether I show the (start)form or not. The se ...Show All
Dan Lingman Comparing a date in a dataset to string to bind to a repeater
Greetings, I am having a problem comparing a date in a dataset to string to bind to a repeater. It does not error out but always returns a zero length. Imports system.Data Imports System.IO Partial Class Calendar Inherits System.Web.UI.Page Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load eventsCalendar.SelectedDate = Now If Not IsPostBack Then ShowDailyEvents() End If End Sub Protected Sub ShowDailyEvents() Dim eventDataSet As DataSet = LoadCalendarData() If eventDataSet Is Nothing Then Exit Sub End If 'Bind to the Repeater control Dim eventsForToday As DataSet eventsFo ...Show All
slies How to put text from a text box in to a picture box useing a command button?
College Home Work. I have been told to make a programme that adds names to a picture box after you have typed them in a text box and clicked a command button. How ever if the name has a q in it the programme should end. Strange i know but it is college. Can anyone help Maney thanks in advance. Yes, this is easy - but I'm not doing your homework for you! First, search this forum - there is a simple method that is called from the Graphics object (there's your first hint!) that will draw the text for you. There is also a simple method on the String object (hint #2!) that can check for the existance of a char or sequence of chars within a given string. You can then "end" the program "if" the given string &q ...Show All
Farhat Fakih required .bin folders
I need to know if .bin folder is required for hosting .net 2.0 web content built using VS 2005. I recently posted a website to my hosting provider and already there is a server runtime error "/". I was told to upload to the htdocs folder I seem to remember that htdocs folder is a unix or linux folder in the root drive i am not sure. I have been told that I will be hosting on a windows server, is there things that I ought to be looking for... to be sure that I am in fact being hosted by a genuine 2003windows server and that If I have problems they can be dealt with by competent support it's just that there are many false claims about such an issue. DKB Hi, Ask your host some techni ...Show All
VHBIL Creating a "grapical editor" for the end-user
Hey, I've just started to use VB and I want to create a graphical editor box for the user to be able to interact with. Just a blank page where they can point to drop nodes and connect them with edges. This is to be acyclic and fairly complicated (a tree won't work) and user has to be able to edit each of the nodes (name, give them properties, etc), I'm thinking visually just a bubble or circle with arrows pointing will do the job. I'm sure there's something out there that'll do the job for me but I just can't find it, or I'm looking under the wrong name (is there something in the toolbox for this ) Cheers for your help, Gaff Um, it's called Visio. There may be something out there, but didn't you say you wanted to create ...Show All
Swanands Connection To The Internet
I want to write a Service that runs every 24 hours that checks for an Internet connection if the connection is connected then I want it to send out an e-mail.....I know i would use System.Net to do the e-mail part but how would i write the code to check for an internet connection Thanks but I think I am just going to use the System.Net.WebReponse and System.Net.WebRequest object and just check to see if my box can hit msdn.com or google.com and if it can its connected if not its not connected....What do you think about this approach But what if that web page was not available at that time, any why the example that I posted is helpful if you would have to check the conncetion state every one second for example to make a coun ...Show All
mark.b Strict Color Data Types
Hey, i know what the problem is here, but i don't know how to fix it! Texttxt.ForeColor = GetSetting("My_Program", "Program_Options", "Fore_Col-Col", Color.Black) It says that it won't work because Color.Black can't be a string. Now i know there's a simple way around this problem... But i'd also like to know how to prevent this type mismatch (i believe that's what it's called) from happening again with ALL data types. Can any one give me some magical web page with all the answers (and solve this) too please That's not the actual problem, it's saying that Color.Black can't be a string. Texttxt.ForeColor = GetSetting("My_Program", "Program_Options", "Fore_Col-Col", Color ...Show All
Radith color chart at design time
Where can I get a color chart that shows the VS KnownColors, to use at design time I want to define a set of color schemes, with colors that I can select visually. I have found some stuff on the internet that gives the RGB values, but I need the VB KnownColor names. Thanks in advance. Are you looking for something like this: http://msdn2.microsoft.com/en-us/library/system.drawing.colorconverter.getstandardvalues.aspx Calling this will get you a list of "standard" colors... Best regards, Johan Stenberg Hi Johan, Thanks, but this seems to be a run-time routine. I need something to use at design time from which I can select a color and paste/type its name into my code. The ColorEditor may fit your ...Show All
MRandall Does VB2005 work on .NET Framework 3.0?
Hello If I just have .NET Framework 3.0 (I don't have 2.0), do my projects work on the computer welll Thanks Can you tell me shorty what the main differences between .NET 2.0 and .NET 3.0 Is .NET 3.0 faster Thanks It's last question. Thanks Mike Danes I already explained that .NET 3.0 uses the same runtime and compilers as .NET 2.0. So it cannot be any faster than 2.0. .NET 3.0 just adds some new technologies: WPF - Windows Presentation Foundation (can be used to develop rich graphical interfaces) WCF - Windows Communication Foundation WF - Windows Workflow Foundation WCS - Windows Card Space I cannot say ...Show All
Johnny2006 How to Multiselects objects that are there on your Form at RUNTIME
Anyone knows how to multiple select the objects that i put on the form at RUNTIME, the objects are mostly of type drawings (circles) etcetc, and may be also controls.... What i want is when i put many objects on the form, i want to multiple select them, bu creating a rectangle arond them, like the same way we do in the .NET IDe's Form designer. and then i want to move the controls / drawing objects that i created after multiple-selecting them, and also apply copy and paste operations on them.... a help of this kind wouldbe really appreciated... Hey guys, noone knows the answer to the question i posted above How are you storing the 'object' locations, type, etc. When you know where you 'hit' the object, you can 'select' it - ...Show All
maryz Enter Key and a Listbox
I read all of the post about the enter key. How do you get it to work on a listbox I tried this in the listbox's keyup event with out any luck. If e.KeyCode = Keys.Enter Then Button2.PerformClick() End If Davids Learning You may want to trap for the return key also ...they have two different key codes...so this should work no matter if you press enter or return: Private Sub ListBox1_KeyUp ( ByVal sender As Object , ByVal e As System . Windows . Forms . KeyEventArgs ) Handles ListBox1 . KeyUp If e . KeyCode = Keys . Enter Or e . KeyCode = Keys .Return Then Button1 . PerformClick () End If End Sub have you implemented th ...Show All
