Answer Questions
emtiez Notifyicon with contextmenu and no form.
Hello, i just downloaded and installed the Visual Studio 2005 Express Edition (C#). I want to make a small app, where a small notifyicon is the "program", it should poll XML/RSS feeds, and then show up in balloontips. But i can't find a way to remove the form, and only startup the notifyicon. just hide the form. form.hide(); Ok i think are two ways: Try using a custom windo ...Show All
jbearfoot Random Assortment
How do you randomly assort a string of values This is to virtually "shuffle" cards. String access using [int index] is read-only, you probably want to copy your string to a char array, then return a new string, passing the scrambled char[] in the constructor. Modderman - There are many ways to virtually "shuffle". Here is one simple example in C#: static void Shuffle( ...Show All
Crystalz Text Colouring
ok i'm making a text editor and what i'm tryin to do is make the text change colour. sounds simple, but i'm a little stuck on it. can anyone help me thnks RichTextBox have SelectionColor , SelectionBackColor , SelectionFont and other properties to control style of the selected text. So all you need is to select text and change this properties. To select text simply call RichTextBox.Select(start, length) . Hi! You need to ...Show All
WebGearPro insert filename into SQL Table
Hi I'm just not getting this but how can you insert the filename into a table. I managed to upload a file from website to my hard drive but now what to save the filename to a field in the database. Can someone please help Here's the code for aspx file and following the code for aspx.vb file: <% @ Page Language ="VB" MasterPageFile ="~/MasterPage.master" AutoEventWireup ="false" CodeFil ...Show All
owlet Trouble with C++ Express Install
I have tried multiple times to instll the MSVE C++ package with no success.Everytime I try I get a MS .Net Framework 2.o installation errror, which in turn prevents the rest of the package from installing. I have/had none of the components that were not allowed to be on before I started. I even ran the vs_uninst_betas.exe to make sure I wasn't missing anything. I just do not know what to try next to get around this issue. I am running a Athlo ...Show All
Vern s Multiple MsgBoxes
In my program I have If x < 5 Then MsgBox( "Error: Not enough songs. Song count: " & CStr (x) & " Songs required: 5" ) End End If But when x < 5, the screen fills up with MsgBoxes continuously until I manage to click one. How to I only make one box appear Thanks hi, your first code doesn't have a problem but it reflect there is ...Show All
Vbeginer.net Exports
Hi. All of my exports are being exported as _<functionname>@24, how can I export them as <functionname> I'd appreciate a step by step explanation :) Hi. I took a look but I don't understand that url. I've heard of .def files before but I've never seen anything explaining how to actually add one to your project. If it helps, I'm already using __declspec(dllexport): extern "C" ...Show All
T Hunsaker Forms Resource Files
I tried to select an image from a Form1.resx file and apply it to one of the stock menu's I created. It would not allow me to use a different image in the corresponding Form1.resx. I had to create my own project resource and add images to that so I could re-use images I had already added to my project. Is there something I'm missing or is this just by design Hi, Can you be more clear in what you want to ac ...Show All
ebferro Email text box mask
Hi i'd like to know if anyone can help me with the mask property on the maskedtextbox control. I'd like to create a textbox that can only have an email entered into it, and correctly. Any help would be greatly appreciated. Cheers -- Ash Clarke Use regex in a validate handler on a normal text box I'm sorry but i'd really like to learn how to use the masked textbox control. Anyone know anything about thi ...Show All
DLinder Validate Text in a Textbox
Is there any method in express to validate the text in a textbox I have a textbox that I am limiting to 25 characters. The text will be used to create a foldername. I would like to check for any invalid characters including white spaces and do a msgbox or something telling them it is invalid, maybe even correct the text in the box for them. The examples I have found were for C or ASP, any help would be great!   ...Show All
ScottComstock Unable to create a new project in VC++05EE
Hi! I have VC++ 2005 EE installed on both my desktop and notebook using the same media. The problem is that when I try to create a new project on the notebook, I get an error about not being able to initialize an ActiveX component. I do not have this problem onthe desktop or in VC# 05 EE on the notebook. I have not yet installed VB 05 EE to try it. This error occurs after I type the project name and clic kto create it. I have tried pl ...Show All
S.Mark Code migration problem from java to Vc#
hi, I've converted my java code to vc # .net using the Java Language Assistant Feature available in visual studio. Its a window appication...But, i couldn't see anything happen if i execute the vc# file.But,there were no syntax or logical errors in the code.. please help me regarding this issue.. Hi, Do you have a windows form to show when your application starts If yes, then have you writt ...Show All
takashikatori_9000 Compile a program as a Microsoft Windows service?
Is it possible to make a program as a Microsoft Windows service I need to know, Glenn Wilson wrote: With the Express products you do not get the windows Service template.. But you can still develop windows services. I have don this in the past by doing it in one of three ways. The first was to follow the quickstarts common tasks that used to be linked from www.gotdotnet.com , the problem is that this link has ...Show All
JBailo color coding vs black&white appearance of .vbs file
Hi, I was using MS Visual Web Developer to edit a .vbs file, and it appeared with line numbers and color coding for the various components. I just installed Visual Basic 2005 Express, and when I open that (or any) .vbs file, it appears in black and white. Any idea how to get the color coding back Thanks! Nevermind, I had to associate .vbs files in the Tools-->Options-->Text Editor-->File E ...Show All
BloomyMB Random Number generation In Visual Basic 2005 Beta 2 Express
Hi. Can anyone tell me how to generate a random number between 2 other's I have found a function for it in the object browser: System.Random.Next(integer, integer) but I can't access it in my code. Any help would be wonderful. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thanks, The Digital Pioneer For your console problem try adding this line to the very end of your code: Console.ReadLine() &nbs ...Show All
