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

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

VoiceOfExperience

Member List

Jakein2006
Rahul Singla
GreenSleeves
beefeater
Jeff_LIU
robertlamour
gracias
Pascal.
Hassan Ayoub
alexmy5
bchan
ChandraP
Levas
Rei Miyasaka
M Minasi
Bulldog.NET
llorrac
kenny125
Punch
Nick_M123
Only Title

VoiceOfExperience's Q&A profile

  • Visual Studio Express Editions Another dumb? question from WillGeorge. Displaying a MessageBox from a DLL.

    About throwing a Exception.. I HATE those becaue they never tell me where it came from! Is it bad coding to present a MessageBox from a DLL rather than just throw the exception Not that my message would cover everything to do about it (I guess I could try but probably not smart enough) but at least I could tell the user what file/method/Etc. it came from. Sorry, Just me! Have a great day! Thank You for the reply.. NOT fighting you in any way.. Just my comment. "the IDE, click on View Details and inspect the StackTrace property." I think that is what I do and.. I'm still lost as to where it came from unless it is my code. I know in the 'Perfect word' there are no Exceptions to worry about. ...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. I forgot, you should also move the control new'ing code from Form1.Designer.cs. Like this: Lars if (tabPage1.Controls.Count == 0) { // Move this code also: ...Show All

  • Visual Studio Team System Source tree collapses - get specific version (forced)

    Unexpected behavior. Source tree collapses for other expanded team projects when doing a get specific version with "Force get of file versions already in workspace" checked. I am assuming that you are referring to the treeview in the Source Control Explorer (SCE) showing multiple expanded team project subtrees. SCE used to have this problem of not remember the treeview expand states. I believe this problem has been fixed in VSTF RTM. -Tan ...Show All

  • SQL Server Connecting to SQL Server Express from an ASP Application

    I have an ASP application which is currently using a SQL 2000 Database, attaching via SQLOLEDB. I am getting ready to migrate my ASP application to .NET using SQL Server 2005 Express. The only problem, is that I am unable to connect successfully from my ASP applcation to my DB under SQL Express. I have taken all of the steps that I have read, including the blog by Ming Lu. I still cannot be through. I have included both the messages that are thrown and comments about the drivers and connection strings. I have enabled TCP/IP and Named Pipes for SQL 2005 EE. I have also included the executable, port 1433, port 135, etc. in the firewall exceptions. I have defined the DB in ODBC using both the Native Sql driver and the SQL Driver. ...Show All

  • Visual Studio How do I prevent a Solution Item from being opened on AddFromFile?

    Hi, I've developed a Project group wizard that adds items to the solution items of a solution, the problem is that when I add a testrunconfig file or an xml file to the solution items by using: Project prjSolItems = (( Solution2 )solution).AddSolutionFolder( "Solution Items" ); prjSolItems.ProjectItems.AddFromFile("C:\\SomeFolder\\localtestrun.testrunconfig"); The IDE opens a dialog with the test configuration and I have to press close for my wizard to continue. Is there a way of preventing this model dialog from opening Thanks Gabo Thanks for the reply, I've also checked the MSDN site as well and it is posted there but MS says that it will not be fixed in the next v ...Show All

  • Visual Studio Express Editions ToolTip Help

    private void Label_MouseHover(object sender, EventArgs e) { ToolTip t = new ToolTip(); t.SetToolTip(xxx, "hi"); } How do i get it so when i hover the label a tooltip pops up im not sure what goes in xxx the label is inside a statusstrip You'd put the name of the control in place of "xxx" (like Label). You also need to make the tooltip instance a member of your form and *not* allocate it like you do here. The easiest way to do that perhaps is to drop the ToolTip component on your form from the toolbar. One ToolTip instance can provide tool tips for multiple controls. Thus: private void Label_MouseHover(object sender, EventArgs e) { ToolTip1.SetToolTip(Label, "hi"); } ...Show All

  • Windows Forms Checkbox + datagrid

    Hi! I am working with an sql database that it's loading into a datagrid. I would like to personalize my datagrid and add checkboses on the first column. There is my code : public class PersonnalisationDataGrid : Form_Consult { private System.Windows.Forms.DataGridTextBoxColumn Column1; //private System.Windows.Forms.DataGridTextBoxColumn Column2; //private System.Windows.Forms.DataGridTextBoxColumn Column3; public PersonnalisationDataGrid() { // // TODO: Add constructor logic here // this .Column1.HeaderText = "Column1"; } private void CreateMyDatagrid() { //DataGrid MyDataGrid = new DataGrid(); dataGrid1.Bounds = new Rectangle( new P ...Show All

  • SQL Server How to know if user have access to a specified DB

    Hi ! I'm searching a way to know if a specified user have access to a specified database. For sure I may look with Enterprise Manager, but I'm searching a way by looking in System Table, or using StoreProc Where the Info about user and is Database access are store Any idea I'm using MSDE Zak Actually, when I went outside for a walk I realized that this doens't completely answer the question. A user could be aliased. Hang on and I will get you some more information. Sorry about rushing the answer. Dave ...Show All

  • Windows Forms Check versioning of client applications

    Hi everyone, I've recently been assigned a project to create a windows form application that will check and report a file version for a variety of client applications. In it's most simple form, if we want the user to check for... say... Macromedia Flash Player version 8, and the user has version 8+, it gives a green checkmark, otherwise it gives the dreaded red 'X'. My questions this... .net 2.0 has some great support in regards to the fileversioninfo class, so checking my versions and such will be easy, but how do I go about searching for such files My approach may be to search for a reg key, find the target path, and use that to point me to the appropriate .exe. Is there an easier, more direct, and/or better approach to this scenar ...Show All

  • .NET Development .net assembly error

    Hi, I have no idea what the best forum for this is... I have just installed, for the first time, Windows Server 2003 on a dell poweredge server. It will function as our main web server. I have configured the server for the .net framework 2.0, IIS 6.0, and uploaded our application to the server. I am receiving the following error: Could not load file or assembly 'VSLangProj, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. I have done lots of searching on this error to find some info. Nothing has seemed to help. I am beginning to think that it is a configuration error on the server. I'm not sure that I installed everything properly to run a ...Show All

  • Windows Live Developer Forums Keywords

    Hello! I would like to inquire on how I can add my site to the MSN Search page using some keywords aside from my URL. I need steps on how do I do that.. Thanks. Sorry, but this forum is for discussing developer topics related to Search API web services. In order to be indexed using certain keywords, those keywords need to be used in plain text on your webpages. Try searching the web for 'search engine optimization' for more information about making your website score well for certain keywords. Regards, Frank ...Show All

  • Smart Device Development PictureBox Drawing VB.NET

    Hello! I have a trouble with writing simple drawing-program on PocketPC. At this program user could draw something on the form using stylus. First idea was to use CreateGraphics.DrawLine in Form_MouseMove. But then I saw that if user open any other windows or menus, painted "picture" disappear. It was very bad... In OpenNetCF forums I've found another idea - to draw using PictureBox. In this way on PictureBox_MouseMove sub load a bitmap from PictureBox, paint line there and then load it to this PictureBox again. But another problem - after 3-6 seconds of drawing OutOfMemoryException... So, how to draw with stylus in .NET CF Here is my code: Private x_md, y_md As Int16 'cordinats of the line Dim x_mm, y_mm As Int16 'cor ...Show All

  • Visual Studio Visual Studio help example font

    I have a problem with the font used for code examples in VS help. The font being used is about 5 times larger than the font used in the rest of the help page. I have an example below. This is the size of the normal text font used on the help pages. The code font size is shown below. public class TestClass { public TestClass() { } } The font then goes back to normal for non-example text... Hi Frank, Thanks for the response. I'm using VS 2005 Professional edition using the MSDN library that comes with VS 2005. I'm currently using the help in the external viewer, but the same problem occurs for the internal viewer. The problem occurs on all offline (local MSDN library) help topics. The ...Show All

  • .NET Development Is it possible to Upload a file and other form fields on the same WebRequest and how?

    Here is a snippet of the code I used to upload a file with other parameters. I wonder how can I upload a file and other fields on the same request . Pls help me with code not just comments. myWebRequest = WebRequest .Create(" https://www.a.com/Upload/sfmupload.asp " ) as HttpWebRequest ; myWebRequest.CookieContainer = cc; myWebRequest.Method = "POST" ; myWebRequest.KeepAlive = true ; myWebRequest.AllowAutoRedirect = true ; myWebRequest.Timeout = 100000; //myWebRequest."transType=1&File1= string uploadfile = @"c:\projects\SUBMIT.003" ; string boundary = "----------" + DateTime .Now.Ticks.ToString( "x" ); myWebRequest.ContentType = "multipart/f ...Show All

  • SQL Server Destination resets when changing selected databases

    I discovered that everytime I need to add a database to my backup Maintenance Plan, after I select the new database from the drop-down of databases, the Destination automatically resets back to a default location. I'm assuming this is a bug that will be resolved at some point, but in the meantime, I need to see if there is a way I can deal with this permanently. I am not the only one adding databases to the backup routine so I can't verify that this setting is properly changed every time we have a new database (which is about once a week). Thanks in advance. It worked beautifully for me as well. But I also agree this setting should be something simple in the Management Studio, not just a registry ha ...Show All

©2008 Software Development Network