SPSali's Q&A profile
Visual Studio Express Editions caps lock command
Is there a way to toggle the caps lock from within a program made in visual basic You can p/invoke sendinput to send the key (VK_CAPITAL). ( getkeystate can tell you if it is on or off) What is it the purpose If you want the user's input into your form to be in upper case or something like that, then there are better ways. (p/invoke = bad, managed code = good) ...Show All
Smart Device Development pocket PC battery status problems
Hi, I got my problem resolved. but my application when run on the emulator doesnt successfully execute the GetSystemPowerStatusEx call. PLease help CODE: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; // Type to hold data returned from the unmanaged // GetSystemPowerStatusEx function internal class SYSTEM_POWER_STATUS_EX { public byte ACLineStatus; public byte BatteryFlag; public byte BatteryLifePercent; ...Show All
Visual Studio Team System CMMI -- Editing the Process Guidance Tracks
My question is on Tracks in the CMMI PG. I have some custom workstream files (xml related in the ProcessGuidanceMap.xml) that have been added to our PG. The Roles tab works fine with these new workstreams after I added entries in the Tracks.xml to reference them in the corresponding tracks sections, and I added RoleGroups with the appropriate roles in them. What I mean by "works fine" is that I can navigate down to my new RoleGroups/Roles and display the appropriate related Workstreams under the expected Tracks. However, when I go to the Views tab under Tracks, Planning, I don't see the same Workstreams. Does anyone know what steps ...Show All
Windows Forms My application icon empty in Alt/Tab toggling
Hi, My application icon empty in Alt/Tab toggling. It have works before. Why is it Thank's Alexei Hi, I know this is an old post but I had this problem also and so might someone else. My application was only displaying the Tab+Alt panel if it was the active application. Once another application was active my applications icon no longer appeared. I came across this blog post http://www.agiledeveloper.com/blog/PermaLink,guid,b47d8927-f94a-4091-84bd-6646e8ceaa1a.aspx It indicates that there is a link between the FormBorderStyle and whether it appears in the Tab+Alt panel. In my application I changed the FormBorderS ...Show All
Visual Studio Express Editions [MS VB 2005 Express]Browse checkboxes in a For loop
Hello everybody, I'm trying to do a very very simple thing (it's very easy in other programming languages). I would like to use a variable (integer) in the name of an object. I have 10 CheckBoxes in a Form. I wanted to use indexed checkbox (as I have learned 8 years ago...) but it seems that with MS VB 2005 Express, it's not possible (there is no Index properties for checkboxes) ! So, I decided to name my checkboxes like this : chkbx1 chkbx2 chkbx3 ... And I would like to test if these objects are checked or not. I would like to do something like that : For i = 1 to 10 If chkbx [ i ] .Checked = True Then   ...Show All
Visual Basic two dimensional array questions
Hello: I am working with a 2 dimensional array of strings. It seems that you cannot use redim preserve to change the left element of a 2 dimensional array. Does that mean I have to declare the array with the actual size, i.e. myarray(1000,1) If so, is there a way to trim off the unused elements at the end of my procedure If I do this declaration (with the total size of the array), what is the function to show the actual number of rows that have values in them. It seems that .getupperbound (0) does not give the number of rows being used but the declared size. Thus I cannot use it. I need to use an array, n ...Show All
Windows Forms Error when attempting to start terrarium for first time
I'd gone through quite a few headaches getting this far. I uninstalled 3 versions of the .NET framework that were installed on my system. I installed the latest (from the MSDN website) framework and then installed the Terrarium client to play. I'm running under Windows XP Pro on a Pentium III, 996 Mhz machine w/512M memory. (It's a Dell&n ...Show All
SQL Server environment variables
Well, having only one disk partition, and only one directory, and running only one application probably ROCKS too, at least for that one application :) But if you're unfortunate enough to be required to use multiple applications, you might be saddened by certain aspects of environment variables, such as them living in one globally competitive namespace, or them being not covered by the NT security model (AFAIK). But I grant you, that they solve the portability problem with package configurations, so I was happy to use them nonetheless. I'd use environment variables (or any other hack in all likelihood), if I could find a solution for the ...Show All
Software Development for Windows Vista WWF & C# Express Edition
Hi there, I was trying to install the latest beta on top of my Express - nothing happens - I wonder if I miss anything Should I install WinFX FWK in advance Thanks. According to READMEs, Express versions of Visual Studio are not supported. ...Show All
Visual Basic May i know what happen here??
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click PictureBox1.Image = "1.JPEG" Label1.Text = "what text" End Sub when i clck this button, the text "what text" will appear. but the picture stil can;t be display. the error showed is " value of type string cannot be converted to 'System.Drawing.Image'" May i know what happen> Assuming that 1.jpeg is a file that you're trying to load: Dim img as Image = Image.FromFile("1.jpg") something like that ( I don't do VB ). Then PictureBox1.Image = img is what ...Show All
Windows Live Developer Forums Submit an App - Get the Windows Live Messenger Beta!
Would you like early access to the Windows Live Messenger Beta Starting today, November 8 th and running thru 9:00am PST on Monday, November 14 th The first 5 people to submit Activity Apps to the Worlds Best App contest and successfully pass compliance checking will receive an immediate invitation to the Windows Live Messenger Beta! Be one of the first people in the world outside of Microsoft to run with the next version of Windows Live Messenger! Lets see those apps!!! -Scott dude i already got a leaked version Windows Live Messenger 8.0.0328, why enter your contest if anybody wants it ...Show All
Visual Studio Team System Accessing via VPN
I'm having trouble accessing the server at work from my home computer. I connect via VPN and can see the Project tree in VS but nothing more. I always get: Could not connect to application tier.... Any ideas how to solve this ...Show All
Visual Studio Express Editions access parent form function
Hi, I am fairly new to the "Visual" IDE arena. I have a program with a parent window which switches between several child windows, only displaying one at a time. I created a switchPanel method which takes a form variable, closes the current form and sets the new form as the current child. This function works fine as long as I use it in the parent window, but I cannot access it from a child window. I am sure this is some newbie error, and I have spent a couple of hours trolling the net looking for a solution with no luck, so it's time for the forums. This is my problem code... SearchLenderResults^ slr = gcnew ...Show All
Visual C# Simultaneous Update of Cached and Original Database
Hello all, I am having a unique problem. I am caching a DB table (since I have to use it very frequently at a different place) and I update it now and then. I want to save the changes immediately to both Cache + Database. Everything I try - AcceptChanges works only for SELECT, UPDATE, DELETE commands if given for that table but actually works only on directly database; Merge Adds another few records to DB; Update() updates only the cache- has some limitation. So Problem is how do i get to where I want - 1) if there is a change in original database then reflect that in cache ; and 2) if there is change in Cache - reflect ...Show All
Visual Studio Splash Screen Icons - How To Get?
Folks, I have a VSPackage that implements the IVsInstalledProduct interface, and Visual Studio correclty calls the IVsInstalledProduct.IdIcoLogoForAboutBox() method to obtain the resource id number for my About Box ico when ever I display the AboutBox, and the Icon appears just fine. Now I am trying to get the Splash Screen Icon working but can't. The docs say that the IVsInstalledProduct.IdIcoLogoForAboutBox() method is suppose to be called for both AboutBox and Splash Screen but I have confirmed it is only called when I display the AboutBox. Does anybody know how to add an icon for your product to the Splash Screen Al ...Show All
