pvulcan's Q&A profile
Visual Studio 2008 (Pre-release) Generating proxy for multiple Contracts service
Short question: 1. How to use Svcutil or other utilities to generate proxy for particular contract in multiple contract service Long Question: I have created a application with multiple service contracts (with one endpoint for each contract). Now i like to generate the proxy for these service contracts. In the client, i want to generate proxy for specific contract as both the contracts wont be used by same client. So how to use Svcutil or other utilities to generate proxy for particular contract in multiple contract service. Thanks, Saravana Hi I have exactly the same question as Saravana in terms of generating a specific proxy for a specific contract for a service hosted in IIS. Using the sample ...Show All
SQL Server salt vs. Initialization Vector
I have seen these terms used but don't understand exactly what they are and how they differ. Could I use one without the other or are they a "linked" pair TIA, Barkingdog Salt is a generic term referring to the addition of some random data to an algorithm, to randomize its output (a process also referred to as "salting"). You can salt encryption or hashing, for example. IV stands for initialization vector and is a specific way in which block encryption algorithms are salted - the IV is a random first block that is used to initialize the feedback register of the encryption algorithm. So, you don't need to use these terms together - it all depends on the context. Also ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Serializing/Saving Entire Scene
I'm looking for tutorials/examples/ideas on the best way to set up scene serialization. I'm about to start on an editor and will need the ability to save out an entire scene an reload it... I know how to seriailize individual objects and such, I'm looking for more big-picture ideas/patterns. Many of my physics objects currently do some intitialization work in there constructor. Should this work all be moved into an "Initialize()" method so that the objects can be deserialized THEN initialized Do most people just use one big Scene object and then seralize that Hi Jeff, We've created "Karvonite" a lightweight persistence framework that is great for creating game editors and serializing data. Karvonite is ...Show All
.NET Development Need of a fast timer
Hi, I was wondering if there were a faster timer than the control timer provided in the toolbox. I would like to take some value from a controller card at a rate of around 10-20 KHz. Or I was wondering if it is possible to have an infinite loop ( which stop when I press a buton), with a function which tells to do any events ( move mouse, paint, close...) that may appear Thank you for your answer, Eric Thanks, I am using Thread and Sleep in a class: namespace Thread1 { class MyThread { public void WriteTest() { MessageBox .Show( "TEST" ); Thread .Sleep( new TimeSpan (1000)); } } } I tell the thread to sleep for 1000 ticks, that is 100 microseconds. But the ...Show All
Microsoft ISV Community Center Forums Copy an Excel File and Update some of it's cells
I am adding this to my app that I made yesterday that creates new project folders and copies files over. Now I would like to beable to edit the excel files as I copy them over. I have started to play around with the excel stuff for VB and I got it to create a new file, but I need help on editing it as I copy it. Ideally I would like to be able to only change some cells. Like tell it to delete everything in one cell and replace it with something. Thanks The logic of your operation: Open Excel File Make Changes Save File Copy FIle ... Try it out in code and post back the code you are having issues with ...Show All
SQL Server SQL SMO Object
hi all, i'am engaged in migrating the database of one application which is developed in VB6.0 and SQL Server2000 to SQL server2005. Here the client is using the SQL DMO objects of SQL2000 to perform many database data manipulations for the end user, my problem is when i'am connecting the application to SQL2005 that session is ending up with an error. From the compatibility documentations i come to know that we need to use SQL SMO objects instead of SQL DMO , when i checked in msdn online i could only find code to connect to vb.net, can any one provide me information how to use SQL SMO object in VB 6.0..... thanks in advance Mat hi mani i was testing the scenario and i found that the client which is installed ...Show All
Visual Basic How to use variable variable name?
I have 100 textbox in my form. Their names are tb1, tb2, ... tb100 I need to retrieve the values from these 100 textboxes. How can I use a loop to address these 100 textboxes name for each currentControl as Control in Me.Controls if TypeOf(currentControl) Is TextBox then Dim theTextBox as TextBox = currentControl 'do your stuff with theTextBox as it has now been made the same textbox as the textbox on the control end if next ...Show All
Visual Studio Debug Engine
Hi, I'm trying to get a list of running threads under a debugged process. How do I access the active SDM and debug engine I found this from the SDK documentation, "The DE exposes the Visual Studio debugging interfaces. All communication is through COM" If my package is written in C# will I have trouble communicating / interacting with the debug engine Thanks, JJ ...Show All
Visual Studio VSS 2005 install not installing VS 2005 plugin.
Hello, Not sure what's going on but has anybody successfully been able to get the VSS 2005 install to complete successfully and when finished, have the VSS plug-in available in Visual Studio 2005 I have enabled the IIS compatiblity. I right click and run the vss setup as administrator. I get no error messages but afterwards, if I click on file there is no source safe option. Also, when I try to open a website, source safe isn't an option. My database server is on a remote W2k3 server. I need the add-in for Visual Studio to open projects from databases on remote servers. Also, I have tried installing VS 2005 SP 1 beta. (Not that I could see how it would make a difference but tried none the less.) Any ideas of how to get this ...Show All
Visual Studio Team System Build notes - how do you create them?
I was hoping users on this forum could share ideas on how best to create release notes and if it possible to automate part of that. Although work items are generated as part of every build we'd need an aggregation of WIs from say build 1-15 if that were the interval between builds that were deplyoed in the QA environment. Creating a utlity/web site that uses the TFS object model to extract WIs is a possibility but I don't want to run this as some kind of a report. I think a good approach would be to have the notes published on Sharepoint, i.e. you don't have to generate them every time. Anybody have thoughts around this I know this is not the solution you are looking for, but the same result may be achieved with additional build typ ...Show All
Microsoft ISV Community Center Forums Using VBA through word, lost all menus (file, edit, etc.)
Edit: Started Windows from prompt using /a. Problem solved. In VBA through Word, all the menus, tool bars, etc are gone. How do I get them back I assume there is a shortcut key I cannot see the Stop, Run, Pause buttons or anything, I can see my code and nothing else. Are you trying to do this using th internal vb in word called VBA. These forums are intended for VB.NET use The following may be some resource ot use for your VBA issues. Office Automation: office.developer.automation newsgroup http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.automation&lang=en&cr=US These deal specifically with Office development and w ...Show All
Smart Device Development BitBlt WinApi
Hello In our application we get drawing commands over the serial interface. Therefore we created on offscreen buffer. Most the changes are small(draw text, set pixel, ...) at WM_PAINT we copy the offscreen buffer to screen BitBlt(hDc, 0, 0, 800, 600, gOffScreenHdc, 0, 0, SRCCOPY); this is very slow. Between 15 and 60 msec. Is there a possibility to copy only the changed rect to screen Thank you very much ...Show All
Visual Studio Team System Importing schema causes full crash in CTP5 (but worked fine with CTP4)
I had just upgraded from CTP4 to CTP5 and am now having crashing problem (full crash, have to restart VS) trying to import a schema. It was not never a problem importing this same schema in CTP4. Any ideas Thanks Hi ks2006, Thank you for your post. Got a couple of questions regarding your issue. 1. How many objects do you have in your database 2. What type of project are you using SQL2000 or SQL2005 3. Have you tested this on a different machine Thank you, Manoj ...Show All
Windows Forms Changing Application Icon
Hello, How do I change the icon that my application shows on the desktop (or any folder for that matter) I can change the icon shown in the title bar of the Form thru the property pages. But I want to put up an icon for the application itself, when put on the desktop. Ideas I dont know what happened but the app.ico dissappeared from my solution. Anyway, I added a new resource and got my desired icon into the project and it works. Thanks for your help Mike!! ...Show All
.NET Development VB Socket Method Questions...
I am writing my first network program, a chat client, and after much looking i found a good example of how to structure the class. But now i have problems with the syntax used within my Subs... like what addressfamily to use, how to actually create the socket. I am using the following statement to declare the socket: Private Sub NewSocket(ByVal AddressFamily As System.Net.Sockets.AddressFamily, ByVal stream As System.Net.Sockets.SocketType, ByVal TCP As System.Net.Sockets.ProtocolType) ' code here... End Sub But i have no idea what comes next... and object browser hasn't been very helpful in providing an answer. Can any one help me, or give me any advice on how to structure the statements ('code here...) Thanks Al ...Show All
