PRamirez's Q&A profile
Visual Studio Express Editions starting an external program in vb2005 express
Hi, I recently donwlaoded an example for vb2003 and an now am trying to use it in vb2005 express. My problem is i can't find anything to start an external application (eg. excel) in debugging mode, as this example requires. I just get an error message 'A Project with an output type of class library connot be started directly.' I also don't have some of the window's shown in the example, is this unique to my express edition The link to my example is here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnexcl2k2/html/odc_xlrtdvbnet.asp -thanks in advance, jaren hi, http://msdn2.micro ...Show All
SQL Server How to use a checkbox for Boolean Report Parameter?
All booleans values that I set inside the report parameters show up as true/false radio buttons on the report. Is there anyway to make these checkboxes instead of radio buttons It would be a nice feature in further releases: Show a single checkbox for a boolean instead of two radiobuttons. Then unchecked would be false and checked would be true. It would also be nice to define the default return value ... now the radiobutton (true) returns true. (Well it makes sence but sometimes its usefull to turn it around and keep the radiobuttons) ...Show All
.NET Development Access the data available on internet and use it in my web application
Hiii, I want to list the prices of some products available on the internet everytime i open a web page in my application.. ex: I want to list all the printers available and their prices from internet in a datagrid on my page. Is it possible if so how.... There's the poor man's approach: Screen scrape the interesting web sites by loading the web pages and parsing their HTML sources. This is tedious, fragile, and error prone, because even minor changes to the HTML source my break your price lookup code. And there's real application integration, e.g. using Web Services to obtain the latest prices. This of course requires t ...Show All
Smart Device Development Treo 700w Emulator connection pob
Hello i have recently installed the Treo 700w emulator. I can open the Device Emulator Manager and run the Treo 700 emulator, even sync it with Activesync, but I can not connect to it from MSVS 2005. When I try to run my application it starts the Treo emulator but it does not connect. I have no trouble connecting to the other win5mobile emulators. I just get an error Device connect failed, nothing else. Thanks Jon Hello, We would like to investigate further on why connection failed. Can you please provide me following information 1. Location of Treo 700w emulator from where you installed it. 2. Build number of Visual Studio ...Show All
Smart Device Development Multiple serial ports
I have a tester that communicates to my Devices Under Test(DUT) thru 1 of 8 serial ports. I have 128 DUT's in my tester hooked up to the 8 serial ports thru a mux which selects 1 of 16 banks (8 * 16). Normally I will select a bank and port and send cmds or get status from that device then switch to any other combination of bank and port and continue using the WriteFile(hComm, ...) & ReadFile(hComm, ...) after selecting the proper bank and com port handle. My issue has to do with initialization of these DUT's. I need to download code to every one at the begining of opperation which could take quite long using WriteFile & ReadFile func ...Show All
Visual Basic A Windows Explorer-like browser that shows image thumbnails
Hello all, Don't want to reinvent the wheel so maybe somebody out there has come across some source code that would allow me to reproduce something like Windows Explorer that would show image files as thumbnails when looking in a directory containing image files. Visual Basic's Power Pack has a FileViewer controller that works ok but without showing thumbnails. Any suggestions greatly appreciated. Cheers. NRF Wow, thanks. What if I want to offer the option via FolderOpen to point this backgroundworker code to a specific folder instead of My Pictures. How & where would I call it ...Show All
Visual C# Write to C# Immediate window in 2005
How do we write to the immediate window from the code window. Similar to "Debug.Print" in VB. Thank you, Paul For a console app... try Console.WriteLine ("Hello"); For a windows form app... try MessageBox.Show ("Hello"); ...Show All
Visual Basic Debugger is extremely slow
Has anyone else experiance really slow debugging in VB.Net Beta 2 Yesterday was the first time I used it to step through code line by line and I was shocked. It's a simple project with one form using a datagridview and it was horrible. We are talking a 3 - 5 second delay every time I hit the F10 key to step over... Thanks, Aaron I have found a workaround posted here: Would this be sufficient for your team to try out (or have 1 of them maybe try this out to see if it solves the problem) http://lab.msdn.microsoft.com/ProductFeedback/ViewWorkaround.aspx FeedbackID=FDBK31126#1 The other workaround is to reset y ...Show All
Smart Device Development problem sync with real device and emulator
hi there, i have VS2005 beta2 installed, DMA tarnsport update for VS2005 beta2, active sync 4.0 installed on my machine. i having a problem to sync my real device after i sync on my emulator, synchronization error. i successfully solve this problem after i have remove the active sync 4.0 and reinstall again. but whenever i sync on my emulator once, i not able to sync on my real device anymore, what a pain for me to ununstall and reinstall activesync whenever i want to sync my real device can anyone tell me what is happening, thank you ...Show All
Windows Forms Permissions required for a DataSet inside a Control
Hi, which Permissions do I need when a Control uses internally a typed DataSet In general I've no problems with User Controls in IE, but I've one that contains a DataSet object and that doesn't get loaded due to a security exception. Jürgen Well, I'm fully aware how to set the permissions for my control and I have it already working ...Show All
Smart Device Development Which lib is _DllMainCRTStartup found in?
Converting a project from eVC++ to VS 2005 caused me to begin having the problem: unresloved external symbol _DllMainCRTStartup I am purposely referencing the symbol, but it wasn't a problem before. Has the lib where this is included changed Thanks, Zack Thanks. That's all helpful information. My (hopefully) last question regarding this issue, then, is this: Is there a smooth way to put the libraries in the appropriate order on the command line using the built-in tools in the VS 2005 IDE The only way that I have found is to list them out in order under Linker->input->additional dependencies, and that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vector3.Project() doesn't work.
I guess I posted this in the wrong forum the first time... I'm trying to project the location of a mesh in world space back to screen coords. I've been searching around with no real luck. I've seen people say that you should use Matrix.Identity instead of your world matrix, but that makes no difference for me at the moment. It's not that the code causes an error, it doesn't. It's just that after projecting pos, it remains almost identical to what it was, off by about 0.5. Considering my values are typically in the hundreds, this is a minor rounding error. I get the exact same results using Unproject(). I would have expected that proje ...Show All
Windows Forms DataGridView KeyDown?
(VS2005 - beta 2) Hello, is there anyway to capture a keypress or keydown event in the DataGridView I know there's events called KeyDown and Keypress, but if the DGV is in edit mode, they never get caught. My ultimate goal is to make it so pressing enter moves to the Cell to the right, instead of to the next row but I need to know what key is being pressed before I can do that. Thanks -Adam Ive the same problem. Its ridiculous that such improved control cant do that simple thing. Ive tried a lot of ways such Overriden ProcessCMDKeys and nothing. Also ive been searching for help in a lot of ...Show All
Visual Studio hidden project
Is it possible to have a project in the solution hidden What I am looking to do is create a project and load it into the solution, but have it be invisible to the user. My project would handle the loading and building of the hidden project. Thanks, Mike Hello Mike, It is actually very simple to make your project a hidden virtual project. One you have created your project you must query for the SVsSolution service and then call HRESULT AddVirtualProjectEx([ in ] IVsHierarchy *pHierarchy, [ in ] VSADDVPFLAGS grfAddVPFlags, [ in ] REFGUID rguidProjectID) Omitting the value ADDVP_AddToProject ...Show All
.NET Development GC does not work in Console Application with STAThread specified.
I have a host that is a Console application. To exit the host the user has to press enter. I ran into what I thought was a remoting memory leak . In the end, the garbage collector was running but was unable to collect objects created on main thread as I had it blocked by Console.ReadLine() to prevent the console window from closing. The solution was to change the Main method attribute from [STAThread] to [MTAThread] which allows the garbage collector threads into the apartment - all memory leaks then ceased without changing another single thing. Why was this happening You will not believe that the garbage collector was not working at ...Show All
