Software Development Network Logo
  • Smart Devicet
  • Windows Vista
  • Visual Basic
  • Visual Studio
  • Visual C#
  • Visual FoxPro
  • SharePoint Products
  • Microsoft ISV
  • Audio and Video
  • SQL Server
  • Visual C++
  • Windows Forms
  • Game Technologies
  • VS Team System
  • .NET Development

Software Development Network >> comspy's Q&A profile

comspy

Member List

D119
Evan Mulawski
Elie Rodrigue
syndicate
Todd Biggs - Windows Live
Mantorok
Larry Charlton
roisaonua
AFTIadmin
AFM
RMon
Javahar
km77
spree
K. Ravinder Reddy
Vikasumit
Stephen Castle
mcdonaldn
KAAU
xyzt
Only Title

comspy's Q&A profile

  • Visual Studio Express Editions Installation Location

    When I publish a project and then run the install, where does it actually install it to I can't find the files. The shortcut simply says Application Reference and I've done a search on my hard drive for the exe file but to no avail. Anyone help Thanks Aha! Excellent! Found it. Thanks. But what a bloody stupid place to put it lol! Is there anyway of changing this I have VS2003 at home but use C# Express at work. I haven't looked at the publish settings of 2003 yet so maybe the publisher is better Also, when it installs, the start menu group is the name of my workplace even though I changed the company details in the Assembly. Is this information taken from the Windows registry or somewhere else I'd like to change this too as obvious ...Show All

  • Visual Studio Express Editions forum comparisation..

    Hello, I'm sure I'm in the wrong forum with this thread, but that's only because I want some attention of you 'VB' people at the moment. I've been 'studying' the VC++ forum here, and I noticed that the average 'top poster' in that forum posts about 50 posts a month.. In this forum, I see 'top posters' with about 120 posts a month Now I'm not sure about this one, but aren't here some coders who also know some VC++ that could sometimes have a look at the VC++ forum to see if they can't help I'm asking this because I posted a question a couple of days before, and whereas I would have had about 10 reply's in this forum, I don't even have 1 in the VC++ forum.. This could be because it might be a difficult question, but it might ...Show All

  • Windows Live Developer Forums Bug with new tilelayer functionlaity - tiles disappear!

    I've finnally got a chance to play with the new tile layers. Very cool. There is a bug, in both IE and the Fox, when new tiles are requested from VE tile servers after tiles from the new layer they end up ontop of the new layer effectively making the new layer dissppear. To test, setup your new layer locally (for speed), clear your internet cache and then watch as your new layer loads first (stored locally it should be instant), then as the VE tiles get downloaded they go ontop instead of below. Zoom in to get a more consistant example of the problem. (I found the inital page worked sometimes ) Once the VE tiles are cached locally this does not occur, also if you get served the VE tiles before the custom layer it works fine. This appeared ...Show All

  • .NET Development Decrypting XML from a service

    Hi I have a service where I want to encrypt the database connection string at install time, store it in an XML file, and then have the service decrypt it when it is started. The encryption works well and I can decrypt it from another windows application without any problem, however when the service tries to decrypt the XML document it receives a "bad data" exception. I assume this is because the service cannot access the key container. So what do I have to do to get the service to access the key container here is the solution: makecert -r -pe -n "CN=XML_ENC_TEST_CERT" -sr localmachine -b 01/01/2005 -e 01/01/2010 -sky exchange -ss my -sr localmachine Now the certificate works ...Show All

  • Visual Basic using send keys to send the "^" character to a window

    I have created an multiple encryption step program for text and I am trying to add diffrent options for it. One button sends the encrypted text directly to a chat window. When a "^" is present, it just skips over it and even delets the letter the the right of it. I tryed this to fix it in my code, but to no avail, but it no longer skips the character to the right. according to the documentation, the ^ character is a special character, used for the CTRL key: http://msdn2.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx so to use them, try to enclose them in braces: "{^}" hope it helps! ...Show All

  • .NET Development IsArabic

    what is wrong in this code to know if the text is arabic or not >>> the error is the underlined... public bool IsArabic( string strCompare) { int i; string strTemp; IsArabic = false ; _____________ for (i = 1; (i <= strCompare.Length); i++) { strTemp = strCompare.Substring((i - 1), 1); if ((((AscW(strTemp) > 1575) ________________________ && (AscW(strTemp) < 1609)) || ((AscW(strTemp) == 1575) || (AscW(strTemp) == 1609)))) { return true ; } } } there is a problem because if there is mixed chars... arabic and english ... what will be the situation ... because I use this function to incode t ...Show All

  • Visual Studio Team System Error when trying to create a new database project

    I've installed VSTS 2005 Trial System, SQL Server 2005 Enterprise Evaluation System and Team Edition for Database Professionals CTP7. They are running on a fully patched virtual machine with 2000 Pro OS. I'm running as an Administrator and can create databases from both SQL Management Studio and from within Visual Studio. When I try to create a new database project I get the error: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)" Remote connections are allowe ...Show All

  • Software Development for Windows Vista Access Denied insufficient rights

    This weekend we purchased the toshiba A130 loaded with windows vista. I deleted some of the programs that i wouldn't use and added my printing software with no problems. But when I tried to load my Pinnacle software I received the following message. "Access denied, insufficient rights-to install software you must have administrative rights. Please log on as Administrator and start the installation again." At that time I was the only user and already WAS the administrator. I called toshiba and spent a very long and frustrating time NOT getting helped. I tried a few more things on my own but admittedly I have very limited computer skills. Can anyone help me Thanks! Sorry, User1000. I tried to rep ...Show All

  • Windows Forms Memory usage for WinForms app

    Hi. I have been asked by a prospective customer how much memory our managed windows forms application will use (on a terminal server), and how much memory subsequent users who log on to the same server and use the same application will require. Now, I have seen reports that point to the fact that memory usage for managed applications is not measured correctly by the windows task manager. When the application has focus, the task bar reports used memory to such widely varying figures as 10mb to 60 mb. When the application is minimized, memory usage goes down to about 1-2mb. So, the questions are: - how can I figure out how much memory our application will actually need and/or use - how do I measure the difference between the fi ...Show All

  • Visual Studio 2008 (Pre-release) Installked WinFx SDK

    I just installed the .NET 3.0 SDK but my VS 2005 C# compiler is cant seem to find System.ServiceModel. What might be going wrong Thanks. Jess Unfortunatly the SDK also contains the service trace tool. If someone could mail it, I don't like installing a 1GB SDK to trace my messages :) ...Show All

  • Smart Device Development Slow Tab Control

    I have a tab control with 8 pages each with a good amount of labels, textboxes, and comboboxes. When I create the form that contains this tab control, it takes several seconds to load. I'm a novice when it comes to programming but is any suggestions for the UI design that will speed up the load time I know that PPC is limited in resources and I was reading an article that says that Tab control in the Compact Framework isn't very good. Even when I take out all but 1 page, the form still takes 2 seconds to load. Thanks for any help. Design the tab pages as usual. Then open Form1.Designer.cs and tear it apart. Create a method for each tab (see below) and move all "this.tabPageX.Controls.Add(this. ...Show All

  • Windows Forms Custom Form Control (Label)??

    Hi: I'm trying to create a TYPE that is a Label but with the Font and margins changed. I've learned that the font size, etc. are not available to write at run time. So, I need to be able to create a new Label at run time but with slightly different property values than the stock Label. I can't figure out for the life of me how to do that. I can create a User Control and put a Label on it but I really just want a slightly different Label. Can I do that in VS 2005 C# If so, how Yes that helps. I can probably make that work for me. I need to figure out how to tighten up the margin too but I can probably find that. Is there no way to create a reusable 'custom label' ...Show All

  • Windows Forms Drawing cicrcles

    Please tell me if the steps to draw a circle on a pictureBox are correct cause i cant get any results(no errors but no circle is drawn) graphics myG; pen myPen (color.red); inSomeEvent(.........) { myG = this.pictureBox1.creategraphics(); myG.drawElipse(myPen, new rectangle(10,10,50,50); myPen.dispose(); myG.dispose(); Instead of the call to PictureBox1.CreateGraphics() you will need to put the DrawEllipse method into the Paint event of the PictureBox. The PaintEventArgs will give you a graphics object which you can use: private void picturebox1_paint(Object sender, PaintEventArgs e) { Pen MyPen = new Pen(Color.Red); e.Graphics.DrawEllipse(MyPen, new Rectangle(0, 0, 10, 10) ); MyPen.Dis ...Show All

  • Visual Studio 2008 (Pre-release) Changing the Style of the SelectedItem in a ListBox

    How do you change the style of the SelectedItem in a ListBox Control By default it puts a dark blue background behind the item and changes the text to white in order for the text to stand out. Where does this behavior come from and how can you change it For example I'd like to change the color it uses as a background and the color it makes the text. -Ryan Most of my work using VB.Net and ASP.Net has been on the code behind side and not on the html end. I need to do exactly the same thing. Where do I insert the code snippet to make this work Is there a way to stick it into web.config or somewthing like that to make it global to the whole web site Thanks. ...Show All

  • Smart Device Development Draw nice line Compact Framework

    I want to draw some lines and basic shapes on screen in Compact Framework. I've used the Graphics class and a bitmap, and then added the bitmap to a picturebox. The problem is the lines look like *** when they are not going straight up or to the side, and by *** I mean that it looks like stairs. Anyone know how I can fix this problem Maybe implement the bresenham line algorithm yourself (it's very simple), and set each pixel. http://en.wikipedia.org/wiki/Bresenham's_line_algorithm ...Show All

©2008 Software Development Network