wvsever's Q&A profile
Smart Device Development versionning
Hi, is there any CVS for Visual studio 2005 I am keeping versions by copying the project to different folders and restoring the last working version, I think Visual sourcesafe does that but it is a little bit complicated i guess. This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as of ...Show All
Windows Forms listbox problems
i am a student at UF. im trying to write code for a depreciation calculater that will show the depreciation year by year. each line will have 3 item in 3 seperate columns; year, depreciation, amount left. so far i can only get my list box to display the year without giving me an error message. please help, fielder What error message are you getting What programming language are you using Probably you should be using a ListView instead of a ListBox since ListView has columns. ...Show All
.NET Development How to deploy web services created using Visual studio 2005 in IIS server
Hi, I have created web service using Visual studio 2005 and am trying to deploy it in IIS server. But my web service is created in local server only. How I can deploy it in IIS server how exactly do you mean deploy You should be able to just create a virtual directory in IIS and place all the files in there (.asmx/cs/bin folder) and hopefully that should be ok. The other thing you could do is create a setup project, and use this project to create an installer to deploy your web service, this would be better and more professional ...Show All
Architecture Pattern to choose
Hi, I have worked for several years as a developer/analyst and now I am trying to improve my design knowledge... I hope my question is right for this forum... I have a very large XML file (in excess of 350Mb and can probably get even bigger) that contain some hierarchical data (nested elements). I also have the XML schema that specifies the allowed hierarchical relation between the various elements (well, a schema…). This imply, for performance reasons that I have to use a XML reader of some type. Writing a "prototype" I ended up with a class that contains the reader and has several HandleElementXXX function that work on the reader… Starting from a main loop (while (!reader.EOF) the reading/parsing is delegate ...Show All
Visual Studio Express Editions Audio Play button from string
Hello over there.. Newb over here.. I'm trying to get a push button to do a 'play' function using the source audio location as a String from a Textbox.. Everything looking good but I can't get the play button to accept the passdown of the String sound location. All help/critique is good. Many thanks. Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles P1.Click Dim TempMedia As New System.Media.SoundPlayer( New stream(TextBox1 As String ) TempMedia.Play()) End Sub **Expected Comma, ')' or a valid expression. Nevermind.. Solved! Private Sub Button1_Click( ByVal sender As System.Object, ByVal e A ...Show All
Gadgets ActiveX help
I originally posted this on MicrosoftGadgets.com but I don't think I can reply there anymore. Basically, I want to create a gadget that uses my online web service, but I don't want the location (or password) visible in the source code for my Gadget. What I really want to do is create an ActiveX component that will make the call and return the XML (or even better, parse the XML to HTML) to the gadget. Problem is, I have no idea where to start when it comes to ActiveX programming, can anyone help Andy VB6 is the easiest method I've found to create a COM. It's available for download on MSDN. You could probably do it via Visual Studio as well, perhaps someone could tell you how to do it via that. With VB6, a ...Show All
Visual Studio How to enumerate references for ASP.NET 2.0 web site programmatically from add-in?
Hello, I would like to enumerate references for ASP.NET 2.0 web site programmatically from add-in. For other C# and VB.NET projects I used VSLangProj.VSProject.References object. How to get the same in ASP.NET 2.0 web site project Thanks. You need to use VsWebSite.References. See my article: INFO: Changes in the extensibility of Visual Studio 2005 Web Projects at: http://www.mztools.com/resources_vsnet_addins.htm ...Show All
.NET Development serialPort questions
I am using Visual C++. I have developed an application to read from the serial port and write to the serial port. I thought that was the hard pard done!!! However I seem to be experiencing difficulty in reading the data. Please allow me to explain, I am sending out ascii characters, which is fine because the harware device that I am interfacing to is expecting them. The problem is that what it sends back is a byte of binary data. And I have to do a bit test upon each of the data bits within the byte. For example: BYTE BACK <D8 D7 D6 D5 D4 D3 D2 D1 D0> If d8 is high (1) then case A. If d8 is low (0) then case B. If d7 is high (1) then case C. etc etc I am using the following code: delegate void txtBxDele ...Show All
Windows Forms login form DialogResult help
Hi, all! On this winform app, I have two forms, frmMain and frmLogin. FrmMain is the startup. Currently, it works when login credentials are entered correctly. If they are incorrect, the app shuts itself down. I want to make the frmLogin stay up for three re-tries, then shut down if unsuccessful. But given the code I have, I had a hard time to make the change. Public Class frmMain Public Sub New() MyBase.New() Dim dlg As New frmLogin If dlg.ShowDialog() = DialogResult.OK Then …Initialize here Else Close() ...Show All
Windows Forms Form position with drag/drop
I'm having two issues with drag and drop in .NET forms. 1. I have an application where you open an edit form from the main form. The edit form is on top. I want to drag a file from explorer onto the edit form. When I click on Explorer, my edit form goes behind the main form. I have to go back to the app, bring the edit form to the front again, then click Explorer to drag the file. 2. Once I drag the file over to the edit form, I popup yet another edit form for the user to fill in data about the document. As soon as the new edit form comes up, I want to set the cursor there so the user can fill it out. However, when I drag and drop the file, the focus remains in Explorer, instead of my edit form. I've tried a bunch of things, but noth ...Show All
Visual Studio 2008 (Pre-release) Returning an array of custom data types, array always empty
Ok, I'm really about to lose it with this problem. It's such a simple concept but some how I can't get it to work. I have a service that returns a List(of somecustomobject) and I can see that the list does have items in the service but when it actually returns to the client, there are 0 elements! I created a simple service/client to see if I could figure out the problem. It has to be something simple! Here's my test service code... <ServiceContract()> Public Interface IService1 <OperationContract()> Function MyOperation6() As List(Of ComplexString) End Interface Public Class Service1 Implements IService1 Public Function myoperation6() As List(Of ComplexString) Implements IService1.MyOperation6 Dim x As New List(Of ComplexS ...Show All
Visual Basic SplashScreen Application Events code editor mystery
or I just don't get it yet. When I type in the code below in the code editor the compiler at design time says Statement is not valid in a namespace To access the Code Editor window for application events With a project selected in Solution Explorer , click Properties on the Project menu. Click the Application tab. Click the View Application Events button to open the Code Editor. Private Sub MyApplication_Startup( _ ByVal sender As Object, _ ByVal e As Microsoft.VisualBasic.ApplicationServices.StartupEventArgs _ ) Handles Me.Startup ' Get the splash screen Dim splash As SplashScreen1 = CType(My.Application.Splas ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How control Sound range that can be listen in XACT tool ?
How control Sound range that can be listen in XACT tool for example, Some Sound can be heard in 0.5 mile. but Another Sound can be heard in 0.1 mile. Of Course, Volume is controled by distance.(close big, Far small) and If Distance between Emitter and Listener go over the range, Volume value is 0. I want to control Emtiter's range to be heard In XACT Tool. It it possible to modify Code.(by force control the volume according to Distance) But May be It's not correct rule.. Thanks for any reply... Hi Henzrake, Thank you for your post. Let me try to answer for two possible scenarios: 1) Suppose you want a single sound to get quieter with distance. For this, you can create a runtime parameter control preset (" ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Cube texture mapping
Here i would like to ask about the texture coordinate for the cube mapping. I know that cube mapping did not use the normal coordinate that we use for normal texture coordinate. But i'm getting problem in understanding how the cube texture coordinate works. Let me put example here. Below is the vertex and fvf declaration: struct CUSTOMVERTEX {FLOAT X, Y, Z, RHW; DWORD COLOR; FLOAT V, W, U;}; #define CUSTOMFVF (D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_TEX1 | D3DFVF_TEXCOORDSIZE3(0)) And this is my vertex array: CUSTOMVERTEX t_vert[] = { { 120.0f, 50.0f, 0.5f, 1.0f, D3DCOLOR_ARGB(255,255, 255, 255), 0,0, 1, }, { 520.0f, 50.0f, 0.5f, 1.0f, D3DCOLOR_ARGB(255,255, 255, 255), 1,0, 1, }, { 520.0f, 400.0f, 0.5f, 1.0f, D3DCOLOR ...Show All
Software Development for Windows Vista Workflow.targets in msbuild directory
I am trying to setup a development environment on Vista rc2. I downloaded all of the latest and greatest from the Vista Developer site ( today ). Windows sdk, vs 2005 ( release version ), wpf/wcf vs 2005 extensions, wf vs 2005 extensions. Got it all installed, but the Workflow.targets file that is supposed to be in the MSBUILD/./././v3.0 directory aint there. Is there somewhere online that I can get it What install was supposed to put it there How did I screw this up Any help is appreciated Paul pmont wrote: Having not tried to install all this on a non-vista machine, I am assuming that the msbuild dir will be created as part of the .Net 3.0 install, correct So if I have to do develo ...Show All
