NoviceGeek's Q&A profile
Smart Device Development messageBox with components...
Hi there, I was wondering how to create a messageBox (or something similiar) that includes components or object's as well (e.g.: a textBox). Actually, I am talking about that messageBox that appears when selecting the 'open path' option in File Explorer application (any version of Windows Mobile). Could someone please help Hi there, I was wondering how to create a messageBox (or something similiar) ...Show All
Visual C# Can anyone help me to make a shadow for forms
Hi, As you know, I all menus in XP have a nice transparent shadow in behind, Window Live Messenger BETA has one. Does anyone know how it apears and how to make it My manager always focuses on beauty of program's GUI. It would be nice if i can use it in my forms Hi, this article at code project tells you how to do it in a popup balloon: http://www.codeproject.com/cs/miscctrl/balloonwindow.asp ...Show All
Visual Studio Express Editions read a remote file in a char * variable
People, how do I read a remote file in a variable Respectively, I need some function like char *file_get_contents ( char *url ) so that i can remote_file = file_get_contents ( "http://192.168.0.10/somefile.html" ); Is there some straightforward way Before trying to do this through HTTP, are you able to do this by going through the LAN filename = " \\ \\192.168.0.10\\www\\somefile.html ...Show All
Visual C# Typing in Visual Studio 2005 Text Editor is extremely slow
Has anyone else noticed that typing in Visual Studio 2005 is extremely slow Whey I type it seems that the screen is always 2 words behind where my hands are. It makes it extremely frustrating to get anything done. I'm mainly referring to C# code. It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this I ...Show All
Visual C# How to trust an intranet-server?
Hello, how can I mark a Server as "trusted location" Problem: Was studying C# during my holidays on my notebook. Wanted to transport the projects to our code-fileserver in the company. But now some parts of the application won't run. Message: "That assembly does not allow partially trusted callers." If I copy the project to the local harddisk, it runs without problems. But I need it running from our development fileserver. H ...Show All
Visual C++ Trouble trying to initialize an unsized string
I am getting "Access violation writing location 0x00000000" when trying the following m_pstrName = new char [strlen(n)]; the variable m_pstrName is declared like this char * m_pstrName What is going on. Hi, Oops, sorry my bad, actually strlen(NULL) is generating the problem. Max ...Show All
Smart Device Development CF doesn't handle new lines as \r\n ??
I wrote a simple control which used the Graphics.DrawString method to draw some text. When the text contained a newline "\r\n" it would only display correctly when I ran the app on my desktop, but when I ran it on the Pocket PC emulator it displayed the newline as 2 square boxes. Unfortunately Enviroment.NewLine doesn't exist in the CF and I even tried using the Stringbuilder.AppendLine (it doesn't exist in the CF) or anything tha ...Show All
Windows Forms Resizing/Moving a Borderless form using C++ .net
hi guys.. my first post on this forum.. just joined today.. i have a borderless form in my application.. now i want to move/resize the form.. written the code for moving by getting the diff b/w new and old mouse coordinates on mousedown on a label(which works as my titlebar).. the code is working fine... is there any better way or this is fine to move.. also i want to have code for resizing/autohiding the form... autohide like too ...Show All
Windows Forms Text Formatting Problem
I want to save a long text to the database without losing the format: font, bullets, etc. Any ideas It is possible in Richtext box control, In that you can directly give the [ Font type + color + display Text ] , Specific format is avilable to differentiate diplay text with formats. If you get the richtext box text, it will give font + color + diplay text , it can be directly stored to database. Format is : @"{\rtf1\ansi ...Show All
Visual Studio Express Editions do loops and message boxes
I am trying to code an application that will give the user 10 tries to guess a random number. Each time the user makes an incorrect guess the application will display a message that tells the user to guess a higher or lower number. Here is what I have so far. I know I am so very close but I can't seem to get it to work. Private Sub uiGameForm_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Hand ...Show All
Visual Studio Team System Creating New Process Template
Hi all, I won't to hear if it's possible to create our own Process Template. When in Process Template Manager (Visual Studio), I only get two process templates listed in the box - what if we wanted to have our own. Where do we create it, and how. Running VSTS RC - TFS Beta 3 dual server setup Best regards Musa As Joe says you can download and configure by modifying the XML files. And then upload. This works well for Work Ite ...Show All
.NET Development .NET programming for Terminal Services
Hello, Are there any special considerations to be followed when creating .NET programs on MS Terminal Servers If so, is there a way to detect if the user is running Terminal Services Thank you very much. David, Thank you very kindly for your reponse. That is what I needed to know. Regards Mister T ...Show All
Visual C++ Compiler error - HELP
Hi all So I just converted a huge project from MetroWerks CodeWarrior to Visual Studio 2005. The project converted fine and ran... ran I said, since now I cant run anymore. What did I change, well, I was changing some setting with 'struct member alignment' and trying some #pragma pack(1). After some tests I changed it back to default, and removed the pragma's. Now the code runs, but not very well, since some members of structs are not being read ...Show All
Windows Forms TextBoxRenderer without XP theme.
As meny people I tried to override OnPaint method to draw my custom TextBox. After some searches on msdn forum I started to use TextBoxRenderer to draw TextBox where I need. But it was surprise when, after disabling xp theme, in place where my text box rectangle should be, there was nothing! My question is, how to render TextBox (may be other controls too..) when xp theme disabled and standard look of UI is used Thanks. ...Show All
SQL Server Error Adding Package Configurations After Removing Them
I have a package that used to have package configurations enabled, with a single XML file holding the configuration information. The configuration information was removed from the package (and "Enable Package Configurations" was left checked, although I'm not sure that is creating this problem). Now trying to add a new configuration to the package. When I open the Package Configurations Organizer dialog box and select "Add...", I get ...Show All
