prog.gabi's Q&A profile
.NET Development httpwebrequest
I have a vb.net web service application. Using IIS 6, I have configured a virtual directory that I wish to httpwebrequests to both place and download files. My application works fine when I run my application on my development machine which also contains the web server. When I run my vb.net application on another computer on the internet, I get the following error when I attempt to move files via http: (503) Server Unavailable I would certainly appreciate any ideas on what the problem is. Thanks, Fred ...Show All
Visual Studio Conditionally setting the AssemblyVersion at build time
I have a need to build a project and only increment the version number if and only if the project has changed, is there ANY way to do this other than build the project twice Can this possibly be done with a custom MSBuild task So far I have seen that you can update the AssemblyInfo.cs from the MSBuild process but doing so before the build makes it so that it will produce a new assembly, which I don't want to do unless something else changes which causes the build to produce a new assembly, then and only then do I want to apply a new version number. Any help would be greatly appreciated! Thanks, Jim Hi Jim, & ...Show All
Visual C# How to create an electronic mapping software?
I need to create a software that is able to display digital maps with the necessary controls such as pan, zoom etc (like an online emap). This software should be interactive and allow waypoints to be plotted on the map with the coordinates of the planned route sent to a ground vehicle. At the same time it should be able to receive information from the vehicle via GPS to enable tracking on the map. How do i go about doing that What are the more suitable development tools to be used Are there any suitable APIs which i can make use of I'm very new to development work so any useful resources/reference would be greatly appreciated. Thanks ...Show All
Visual Studio SourceSafe Internet Plugin and IIS on W2K Server
I have setup a VSS database on a file server and installed VSS 2005 on our web server. I followed the directions in the MSDN "How to: Set Up Database Access via Visual SourceSafe (Internet) Plug-In" (http://msdn2.microsoft.com/en-us/library/ms230206.aspx) When I reached "To enable Internet Access for an Existing database on a different computer than the web service" step #7 things got weird. First the VSS Web Service is running on a Domain Controller so it did not appear in the "Computers" list (sub-step 2) rather it appeared inthe "Domain Controllers" list. So I opened it's properties (sub-step 3). Th ...Show All
Visual C++ Link Error: unresolved external symbol __iob
MRWAudiod.lib(xmainterleave.obj) : error LNK2001: unresolved external symbol __iob This is a linker error I'm unable to get rid of. I'm using VS 2005. The layout of my project is I'm bringing in XBOX360's XMAEncoder.lib I'm then wrapping this in a managed DLL thats using MultiThreaded DLL and /CLR compiler options. Reading around the web I see that __IOB used to be in the libcp.lib but that its no longer present in 2005. I'm forced to ignore the libs libcmt.lib; libcmtd.lib. Does anyone know how to get rid of this Twigg wrote: I'm forced to ignore the libs libcmt.lib; libcm ...Show All
Visual Studio Express Editions Free Ebooks in Express Editions - How to get them?
hello everyone, i just downloaded the ISO version of visual c# 2005 express edition and installed it on my workstation. is there any way for me to avail of the free visual c# ebooks that registered users of the online edition can get thanks and best regards, matt Solution to download e-book (or free tool from Microsoft Connect) by Microsoft File Transfer Manager. Close all internet connection. Open Microsoft File Transfer Manager. Connect your internet connection. At Popup Confirm application validation, click 'Yes' Select your download job (ex. Microsoft Visual C# 2005 Express Editio ...Show All
Smart Device Development Porting app with CEditView
I had an application that used a CEditView running on PPC 2003. I am porting this app to WM v5. Since CEditView has disappeared from VS 2005, I've had to implement a workaround. I am using a CView that instantiates a CEdit. This appears to work except I have to handle the Cut and Copy actions in my view class and call the CEdit's Cut and Copy methods. This seems to work well. I am having problems with the ID_FILE_SAVE and ID_FILE_SAVEAS functionality. I assume that CEditView handled these in PPC2003 since I don't see anything in our code to handle them (I'm new to the project). If CEditView was handling the ID_FILE_*, how do I impl ...Show All
SQL Server Excel as a data mining client
Can I use MS Excel to generate the diagrams and charts that are being generated in your data mining project when you use VS.NET 2005 If so, how I am trying to bring this technology to marketing people the simplest way possible without having to create my custom application. They just love the graphs, diagrams, and charts generated by VS.NET 2005 when you create data mining projects but I don't want to install it as client tools to my end users. Besides, these are not tech people but marketing staff. Using VS 2005 and the Visual Studio Tools for Office you can very easily create an XL workbo ...Show All
SQL Server can i get the output of 'sp_columns' system SP into a table through T-SQL
Hi, I want to collect the output of system stored procedure 'sp_columns' into a temporary table. Please suggest how can i achieve this. Ashu Sharma Create a temp table with columns as described at sp_columns in BOL and then do INSERT INTO your_temp_table EXEC sp_columns -- Frank Kalis Microsoft SQL Server MVP http://www.insidesql.de ...Show All
Windows Forms LinkDemand security on Dispose?
Hello, I've got a windows form, secured by a StrongNameIdentity LinkDemand. When I have FxCop check that assembly, it says that the virtual Dispose method of the base class (System.Windows.Forms.Form) and my implementation should have the same LinkDemand. Can I ignore this message What harm could a form do that's being disposed Not quite. The issue here is& ...Show All
Windows Forms Viable click-once scenario?
I am an experienced win-forms developer (but not it asp.net). I have an application scenario where I am wondering if click-once deployment would provide benefit. Basically, it is an internet web/html based training program that needs to launch a local 3D simulation environment (based on the Gamebryo gaming engine). In a perfect world, this is how I would like it to work: 1) User runs through the training web pages, and gets to the simulation portion of the training 2) The user is presented with a web page containing a button to launch the simulation executable 3) The system determines if the app exists on the local machine, and if not d ...Show All
SQL Server Cannot Open User Default Database (error 4064)
Hi, SQL Server 2005 installed on my computer. i was trying to make a login page with VS.2005 pro. But i got some errors on Website Administration Tool. Whatsoever, i registered a database (aspnetdb) . Then, i think i made my default database to aspnetdb. Something went wrong and i decided to delete aspnetdb and start whole procces from the begining and i did it. AAANDD WHOOOLA. I got this error: Cannot Open User Default Database, Login Failed Microsoft SQL Server, Error 4064 Is there anyway to change my default database to "master" again Or simply will i uninstall all the sql server 2005 ( f you say uninstall, answer this:: Will be any pro ...Show All
Visual Studio 2008 (Pre-release) Process RoutedCommand at NavigationWindow level
How can you process a RoutedCommand at the NavigationWindow level You can easily add < Page.CommandBindings > to a custom page or < Window.CommandBindings > to a custom window. But when you do a Navigation application and specify the Application.StartupUri, WPF creates the NavigationWindow for you. In that scenario, I don't see where you would specify < NavigationWindow.CommandBindings > . I tried to create my own class based on NavigationWindow and tell the application to use that instead by doing: < Application.MainWindow > < mb:CustomNavWindow /> </ Application.MainWindow > This appeared to ...Show All
Visual C++ What happened to vector?
Something is wrong with the STL 'vector' header file in the 2005 Express installation. After installing beta 2, I can't compile any source files which #include<vector> any more. The vector file is now 59k as opposed to a very tiny 'vector' header in the VC++ 2003 Toolkit. Also, the VC++2005 vector file has all the code in it, while the vector file that works only has a few lines including some other headers. These problems just started with Beta 2. I get about nine syntax errors pointing me to various lines in vc++2005 'vector': ------ Build started: Project: test, Configuration: Debug Win32 ------ ...Show All
Visual C++ Floating point stack overflow
My application works fine in VS2003, but in VS2005, it is producing an overflow of the floating point stack. This seems like it must be a code generation error in the new compiler. Has anyone else experienced this problem In the particular case I am looking at, I step through the instruction FLDZ in the disassembly window. Instead of getting a zero in ST(0), I get 1#IND, and the SF and C1 bits are set in the x87 FPU Status Word. The first time through this code it works OK, but this second time through, the FPU tags register shows that the stack is full before the FLDZ instruction. Bug is fixed in VS2005 SP ...Show All
