Elv's Q&A profile
Visual Basic Reference problem in Beta 2
We are developing a new VB .Net Beta 2 application. This application references some DLLs that were developed in VB .Net 2003. When I build the application, everything works fine. However, when someone else from the project team gets the latest version of the solution from SourceSafe and rebuilds, he gets an error that says "<The system cannot find the reference specified>". If he removes the reference and then adds it back, it works fine. But then if I do a get of the latest version, the same problem happens to me. The DLLs in question are all located in a folder on our C: drive with the same p ...Show All
Smart Device Development cant cradle emulator
hi there, i have problem cradle my emulator and sync with my desktop pc, the green icon is just keep on spining and connecting, but never get connected and sync. it was strange that when i was using real pocket pc it successfully connected and sync...what happen Can you please try 1. "Clear save state of emulator using Device emulator manager and then try to connect and cradle again " 2. Kill wcescomm.exe from taskmgr and starting activesync again. -Thanks, mohit ...Show All
Visual Studio Express Editions (Newbie) Combo box - index of current value?
Hi I am using a combobox which had a fixed numerical value list, set up in designer. The list was : 1 First, 2 Second, 3 Third , etc I have now changed the list to text items, again just set in the designer. List is now : First, Second, Third, etc Previously, I used Val(Combobox1.Text) to get the item (which corresponded to the item position in the list). So how do I now get the current selected value 'index' in the list such that if I choose the second item "Second" I get its position of 2 Have tried a bunch of things (as usual), but either get errors, or where I get a value, it is mostly -1 or occasion ...Show All
Visual Basic Issuing commands through a console program (cmd.exe or telnet.exe)
I can open a console program (cmd.exe) through VB.NET. Now how do I enter text based commands to that console I would assume that I have to take control of STDIN and STDOUT. I also need to capture the responses from the console to parse the result. Don't need lots of detail, just point me in the right direction. Ya, that was the first thing I tried. Doesn't work for me. Here is a snippet that I tested with. Shell( "cmd.EXE" , AppWinStyle.NormalFocus) Console.WriteLine( "cd\" ) str = Console.ReadLine() MessageBox.Show(str) ...Show All
Visual FoxPro VFP6-Did anyone experience this problem (with ActiveX Ctrl)?
hello guys, I post here my problem and hope that there will be certain VFP expert to help. The problem was that when i call the MouseDown event from an OleListView control (this ole is inserted in FORM1). This MouseDown event will show a shortcut menu (1st shortcut). A Command in the 1st shortcut will open a modal form named FORM2 and on form2 is also placed another activeX listview control. The MouseDown event of this olelistview will show another shortcut menu (2nd shortcut). The problem was that if form2 is a modal form then all events on its activeX will not execute. These problem seems to be fixed in VFP8/9 but i still want to k ...Show All
Windows Forms Datagrid with Arraylist
Please give me a solution to customise DataGrid in Windows forms. My datasource is a class inherited from ArrayList. I had to format the datagrid column's Header Name and Visibility How to format datagrid with datagridTextStyle class What should be mapping name in the above case The code samples found in MSDn web site is not working... Hope i wil get a solution soon Hi Daniel Thank you very much .... for the help I had confusion with MappingName of DatagridTableStyle.. the problem is solved.. ...Show All
Visual Studio RC1 - Visual Studio Class Designer Package Issue
I've installed VS.NET 2005 RC1 on 2 machines. I've a project that was created with VS.NET 2005 Team Suite Beta2, including a class design file. On machine 1, I've no problems with Class Designer. On machine 2, whenever I start Visual Studio, I receive the following in a Yes / No Message Box titled 'Microsoft VIsual Studio': "Package Load Failure Package 'Visual Studio Class Designer Package' has failed to load properly ( GUID = {DD1683A7-5A4C-4234-81B3-A4CC91DBEAC9}. Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable ...Show All
Visual Studio 2008 (Pre-release) DataTemplate with Viewport3D using a StaticResource
Why won't this DataTemplate work < DataTemplate x:Key = " 3DItems " > < Border BorderThickness = " 1 " BorderBrush = " Black " > < Viewport3D Width = " 50 " Height = " 50 " ClipToBounds = " True " > < Viewport3D.Camera > < PerspectiveCamera FarPlaneDistance = " 50 " NearPlaneDistance = " 1 " FieldOfView = " 90 " Position = " 5, 2, 15 " LookAtPoint = " 0, 0, 0 " Up = " 0, 1, 0 " /> </ Viewport3D.Camera > < ModelVisual3D > < ModelVisual3D.Content > < Model3DGroup > < AmbientLight Color = " #FF7F7F7F " /> < DirectionalLight Direction = " 0,-1, ...Show All
Visual Studio Migrating compartments
Hi, I merged a DSL from the February CTP to the June CTP and I'm running into some problems with the compartment shapes. They are displayed like this . So the elements which are in the compartment are displayed, but the compartment itself isn't displayed properly. Also tried to create a new compartmentshape in a new solution from scratch but this results in the same strange shape. Hope someone can help me out, Gerben. Hi, I think you have to set the "Display Name" Property for your Shape. Alexander ...Show All
Visual Basic How can I implement output redirection using the shell command?
I want to implement output redirection such as "type c:\1.txt > c:\2.txt" using the Shell command. I wrote the code shell "type c:\1.txt > c:\2.txt", vbHide but the code failed. Can you tell me what I should do Thanks I'd know what to in C or C++. They have a little bit od an edge there. There are process pipes called STDOUT and STDIN. These are process output pipes and I have dealt with them in C. First of all maximum flaexibility is going to be attained using the API call Detach Process and it's datastructure as opposed to shell. The datastructure support ...Show All
Visual Studio Team System Team Foundation Client Source Control Explorer
Can the (lite) Team Foundation Client operate the checkout/add folder/add files functions of Team Foundation Version Control (TFVC) We might like to use TFVC for both our source code and related technical documentation created and managed by our developers and business analysts. When running within the Visual Studio 2005 IDE the TFVC source control explorer allows me to create new folders and add non-source files to version control and checkout/checkin versions. However the features to add new folders and files or checkout files for edit are disabled when the Beta 3 Team Foundation Client is run on a machine that does ...Show All
SQL Server Script Component -
Hi, In our office recently installed VS .net 2005 RC and Yukon Sep. CTP. The problem is, create a dtsx package. Drag and drop a script component in dataflow after a OLEDB source. Let the script component be transformation type. Edit it, click on scripts in the left hand side tree, double-click on the button 'design script' (right bottom corner). I get an error: TITLE: Microsoft Visual Studio ------------------------------ Cannot show Visual Studio for Applications editor. For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft%u00ae+Visual+Studio%u00ae+2005&ProdVer=8.0.50727.26&EvtSrc=Microsoft.DataTran ...Show All
Windows Forms Incorrect parameter
hi all, When I install on windows 2003 TaskVision Source 1.1.0.0 ,error message has been appear "Incorrect Parameter".IIS and SQL sever are running properly. Any one help me ...Show All
Visual Basic PrintPreviewDialog Control Problem
hi guys, i am using printpreviewdialog control for show my print preview but after this when i press print button from its window it directly goes on to printer. how can i show printer selection dialog box before print. help me nitin ...Show All
Visual C++ sizeof(struct) returns different value in VS 2005
Hello There! I have the following structure (C++): struct RuexRTD { time_t tTimePrevUpdate; // Previous Time of RUEX Update time_t tTimeLastUpdate; // Last Time of RUEX Update WORD wState; // wState value }; In VS 2003 sizeof(RuexRTD) = 12, while in VS 2005, sizeof(RuexRTD) = 24. I HAVE defined _USE_32BIT_TIME_T, and I HAVE verified that Struct Member Alignemnt default in both 2003 and 2005 is 8 bytes. Is there any way sizeof(RuexRTD) can be made to return the same value in 2005 as in did in 2003 The answer would be much apreciated and would help greately - the software installed base backward compatibility ...Show All
