bderemer's Q&A profile
.NET Development COM and CLR
Hi all, I read that COM is having contract specification and implementation in binary format and CLR has contract specification in the form of Metadata and Implementation as IL. What are the disadvantages of COM having things in binary format Thanks, Suresh. Your definitions of COM and CLR are reasonable but the issues with COM do not necessarily derive from how they are specified. COM promi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is there any way to access the mixed audio result by DirectSound?
I want to get and save the mixed data by DirectSound. Is there any method to do this I guess, the way maybe access the primary buffer, but how to do in detail Thanks! There is no way to get the final mix back from DirectSound. ...Show All
SQL Server Anybody played with SmoBrowser example within smo?
I was looking at the smo examples that come with sql server 2005/VS 2005 and I have found quite interesting how it was neat and easy to load everthing in a treeview using reflection. I come to my question: I would like to load a treeview control that I could reuse in the same way but depending on the needs i would like only to load certain stuff not all of them. EG (Not all objects but just DatabaseCollection,TableCollection) ...Show All
Visual Basic Search text in .BIN (binary) file
Hi, I have a file (.bin) that is compressed with the following information: Color Food Color Food Color Food ............... (until end of file) For each string, it'd be 10 bytes long. So I'd read the first 10 bytes, it'd be color1, next 10 bytes, it'd be food1, next 10 bytes, would be color2.... etc. How do I: This is the code I have so far.... visual basic code: I'm afraid I'm going to ask you a few more ...Show All
Visual Basic Can't update data table from DataGridView
This should be simple. I haven't touched a control or written a line of code. In a new project I add a DataSource of an Access 2002 table. I drag the table to the form, which automatically generates a TableAdapter, BindingSource, and BindingNavigator for the new DataGridView control. When I change a row and press the save button, I get the following error. {"Update requires a valid UpdateCommand when passed DataRow collection with mod ...Show All
Visual Basic Insert into db
My problem is this. I have an insert statement and I create a sqlcommand object and executeScalar() to run the statement. Now I have to take the identity of that inserted row and put it into another table. How can I get back the identity off the newly inserted row Thanks I think what you may be looking for is the @@identity http://www.sqlteam.com/item.asp ItemID=8003 So when you insert a r ...Show All
Smart Device Development deployment
Hi there. I am using cabwizsp (VS.NET 2003) to deploy project cab file for SPV's (ARM devices) I have noticed that not all the cab files will install/run on any MDA/PDA device because of the proc. Currently by default it works for ARM procs (v4). I noticed that there is a switch to specify what CPU type you wish to deploy the files to - I need to create a cab file for the t-mobile MDA platforms. I think it is an intel XScaler proc. Ho ...Show All
SQL Server Obscure error while attempting to install SQL Server 2005 SP1
I successfully installed SQL Server 2005 SP1 on one PC. When I attempt to install it on a second PC, however, I get the following obscure error: Unexpected Error Occurred The following unexpected error occurred: That's right, there's nothing else listed, other an OK button. D'oh! When I press the OK button, the following error report dialog box appears: Hotfix.exe A recently applied update, NULL, failed to install. There a ...Show All
Visual Basic Validating within a User Class
I need to populate a container with an indeterminate number of label/textbox pairs for input. Since it is indeterminate at design time, I thought I'd create a user class with both a label and at text box in a pair so I could create them at run time and populate the labels appropriately from a data file. I need to validate each text box for numeric value. Then, I need to use that value to build up a subtotal on the form...sort of like this: ...Show All
Visual C++ CEditView and OnChar
Hello, everyone. I have a noob's question about using the OnChar function with CEditView. What I'm trying to do at the moment is develop a rudimentary console for a calculator program I'm working on. After every key return, it would display ">>" in a new line (think of something like the python IDLE). However, I have been able to find no function which displays text in CEditView. The following is my attempt at code to accept ke ...Show All
Visual C# Find HyperLinks
I am working with c#.net Is there is any way By which i can find all the Hyperlinks in any site href is used in a few things like CSS links and stuff, don't know if you want them or just text hyperlinks users can click. try: Regex linkRegex = new Regex("<a (.)* href=\"(.)* \"(.)* >", RegexOptions.Compiled); as the regex match (look around the web for Regular Expression syntax, its ...Show All
.NET Development Which is the best way to connect web service which it's name and methods comes from DB
Which is the best way to connect web service which it's name and methods comes from the DB this mean i can't make reference to an existing web service. thanks for the help Hi, First of all, I must admit this is the first time I've ever heard of something like this - are you saying you build your web service dynamically ! this sounds a little bit strange, but if that's what you decided about, who am I t ...Show All
Visual Studio Article on ReportViewer in Visual Studio magazine
http://www.ftponline.com/vsm/2005_11/magazine/features/rjennings/ Hi Rajeev, thank you for the link. I’m trying to find some information about the capabilities of the Reportviewer control in making graphical reports. I have only SQL Server Express 2005, so the sample files do not run. Greets, VBFan ...Show All
Visual Studio Team System Tracking arguments from locals
Hello. I've been doing some work with analysing what locals are passed as arguments to methods. I'm finding it difficult to track an argument back to a local. I seem to have narrowed it down to analysing the statements in a method body during VisitMethod() as VisitMethodCall() is completely disconnected from the types used as arguments, or can be; making it unreliable. My problem is, I can't seem to correlate a particular named local to ...Show All
Visual C++ VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch ...Show All
