haihtomy's Q&A profile
Windows Forms creating shortcuts in .NET
Hi. I have an application and it is installed using the deployment agent in VS.NET 2003. It all works fine. That is not where the problem is... lol... My app has an update feature, so if there is an update it will download it and notify the user. Great. Now, in my previous applications, it was unable to create/redirect/edit the shortcuts as I didnt care much about it at the time. The new updated app DOES recreate/edit the shortcut to point to th ...Show All
Visual Studio Team System TF Workspace command-line
Hi I am trying to use a HTML applciation and calling the "VS2005 command-line batch file" and the "tf workspace" command using wscript.run. I run into issues when I use "tf workspace /new aaatest ....." without the "/noprompt" option. Is it a bug in the command line that I have to use this option Is there a workaround where I can use this command with the "Add workspace" window ...Show All
Visual Basic Browse button OpenDialog to TextBox
I am putting together a WinForm VB.Net application in Visual Studio 2005 and on two forms I need to allow the user to click a "browse" button, choose a file, and have that file name fill the textbox upon the user clicking "open" from the dialog box. I can add the opendialog to the btnClick, open the dialog box and set the properties for a specific file type, but can't seem to get the file name moved to the text box. I h ...Show All
Visual Studio Tools for Office Moving text within a document without using the clipboard
Hi, I am trying to move some text within the document, but without using cut/paste. In Word it is possible to move text by selecting it and dragging it with the mouse. The same thing is achievable using the keyboard by pressing F8 to select some text and then pressing F2 to select the place to move the text to. Under the covers Word enters what is called "special mode", and the boolean property Application.SpecialMode can be quer ...Show All
Visual Basic VS IDE can't publish with PublishDir set
I can't seem to use the IDE to publish my application to my website when I have PublishDir set to another location other than the default. When finished building, it seems that it always looks for it in the default "publish\" directory, rather than what the PublishDir value is. I had set the value to "$(OutputPath)publish\". Is there any way to get this to work Zhila, I was able to repro ...Show All
Smart Device Development WMP 10 MOBILE CAN'T UPDATE MEDIA LIBRARY FROM EMULATOR STORAGE CARD
In VS2005BETA2 and Windows Mobile 5.0 Pocket PC Emulator, I've ported the sample C# application from the WMP10 SDK. The application presents a list of media it gets from the Media Library for the user to select and play. The application runs fine if the media resides in the emulator file system, e.g., My Documents\My Music, and I use the Emulator's Windows Media Player to update the library. However, if I configure the Emulator's Storage ...Show All
.NET Development Displaying a lablel for a specific period of time
I would like to provide some feedback to users when they add update or delete data. Is it possible to make a label that will be visible for 3 seconds and then become invisible by setting the visible property to false. Any suggestions will be greatly appreciated. DWC Hi Jason, I used your code in aspx page and it worked perfect. But I had to use it in a page that has masterpage. When I use the code I start getti ...Show All
Visual Studio Express Editions Need help with for and pictureboxes
I'm making a map editor to make maps Every tile is a picurebox. In the menu there is a command "New" wich will load all the default pics into the picturebozes, so you can make a new map i created this for statement dim i as integer For i = 0 To 391 PictureBox(i).image = My.Resources.Image_default Next i But this doesn't work. There is something wrong with the PictureBox(i).image Please help me. I'm using vb2005 Thanks in advance, Radexxio ...Show All
.NET Development No symbols are loaded for any call stack frame. The source code cannot be displayed.
Hello. I installed VisualStudio.NET 2005 a few days ago. ( not beta ) While I'm debugging, I'm faced with strange message box. -- MessageBox -- No symbols are loaded for any call stack frame. The source code cannot be displayed. -- Debug Detail Window -- FatalExecutionEngineError was detected Message: The runtime has encountered a fatal error. The address of the error was at 0x7a2b5aec, on thread 0x358. The error code is 0xc0000005. This ...Show All
.NET Development How to unbound column
hi, How can i unbound my drop down list controller from sqldatasources after load it. regards jenifer ...Show All
Visual C# run unmanaged app from managed app
well, I have aconsole application which I need it to activate an exe file(not written in .net) and get its screen output(the exe is also console application). the question is how I do it and if there is a difference in activating regular exe and .net written exe I tried using AppDomain.CurrentDomain.ExecuteAssembly but it gave me "The format of the file 'sftpc.exe' is invalid." exception Regular exe files are no ...Show All
.NET Development "cannot insert the value null into column"
in my table FriendsID column is the primary key and can not be allowed null values normally. When I have an insert stored procedure executed in the code below, it is having the error message "cannot insert the value null into column". But anyway because the column is defined as the primary key it can not have null values. Why am I having this problem Pls. help.Thx. StringBuilder errorMessages = new StringBuilder (); string Connection ...Show All
Visual C++ Rebuild using shared precompiled headers doesn't work
To combat a long build time, I consolidated common headers across 20+ projects into a single precompiled header, to be shared. The pch file is generated from a separate project (pch.vcproj with stdafx.cpp/h), and it works with clean builds and incremental builds (from editing one of the files belonging to the 20+ projects), but I get compile errors when I choose Rebuild. Before presuming a bug, I'd like to ask the forum for he ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Error
I am making a game called Battle Tank and I referenced a DirectX reference just as the tutorial said but I'm getting an error saying: 1 Error, The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll' and 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll' Here's my code to the game: using System; using ...Show All
Visual Studio Express Editions Timer Windows Service
Hi guys. I got a Timer Windows Service that do some importing of txt file to sql server and then run some procedure at the same time. So Every 30 min. the Timer will elapsed and do its work. Now i'm having a issue is when the process could not finish on time then the timer elapse and run the process again... how can i do my code in such a way that to queue it . here and example of my code.. Private Sub InitializeTimer() ...Show All
