dcb99's Q&A profile
Visual Basic Radio Check Options in Menu Strip?
First off, I'm completely new to the world of Visual Basic. I took a little break from programming for about 20 years :) What a change... and THANK GAWD! I'm trying to keep current in my studies and am using VB.NET 2005 beta 2 at the moment and training with App Dev's VB .NET course... I've got the basics down, nagivation, understanding of objects, properties, etc... but for the life of me, i can't find what i'm looking for... and what I THOUGHT may have been a slight change in naming of properties... was not the solution to my dilemna... at anyrate... My question is.... Does the 2005 version support the radio check boxes as it did in 2003 ...Show All
Visual Studio 2008 (Pre-release) Where is the Hello World Example?
I realize this is a bit trivial. However it is quite frustrating every time I attempt one of these Tutorial/Walk-thru's in unknown territory only to find the documentation to be incomplete. Can anyone please tell me where I can find the "Hello World" code example for the WPF "Getting Started..." tutorial In the documentation it states the following: Run the "Hello World" Example ... To launch XAMLPad Click the Start menu, point to All Programs , Microsoft Windows SDK , and Tools , and then click XAMLPad . Copy the preceding code example and paste it into the lower pane of XAMLPad. ...Show All
SQL Server permissions sql express and remote connection problems TIA
posted to the forums a few weeks ago, followed the suggestion but the problem has not been squared, the link for my original post is at the bottom of this message. have tried most of the suggestions in the forums, again see the link for details on steps i have tried, kept poking around and came up with a few more possibilities for the problem, the error message is the one that says sql server express remote connnections are not enabled by default during the install of sql express, backed up a little and it seems i can not even connect to the local machine, i ran the sqlcmd -s -e \sqlexpress and the login timesouts and says that sql ...Show All
Visual J# Web Browser, HTML selection
Hi, I have implemented a simple Web Browser using the inbuilt Web Browser component. I now need to be able to highlight some text on the web page and for this to then be selected by the J# program. This is possible in Java by using the getSelectionSrat and getSelectionEnd methods linked to the JEditorPane, and it is possible in C# by using IHTMLSelectionObject and IHTMLTxtRange, but now I need to find the J# version! Regards Richard Hi, In J# you can do it as following... 1. Refer vjswfchtml.dll. 2. import com.ms.wfc.html.om package. 3. Importing this package will expose IHTMLSelectionObject and IHTMLTx ...Show All
Visual FoxPro How to visualize in a combo box, all the SQL server on my computer??
Hi! I want to create a form, where I insert my userID, my Password ecc... and a combo box, where I can see all the active server on my computer, and I can choose one of it! It's possible to realize that Thank you! You can use SQLDMO. While it doesn't work at all times it shouldn't be a concern because all tools I know of also doesn't list available servers at all times. ie: Local oSQLDMO as SQLDMO.SQLserver,oSQLDMO2 as SQLDMO.SQLserver2 Local oNames as SQLDMO.NameList,oNames2 as SQLDMO.NameList oSQLDMO = CreateObject("SQLDMO.SQLserver") oNames = oSQLDMO.Application.ListAvailableSQLServers() For ix=1 to oNames.Count oNames.I ...Show All
SQL Server The database 'x.MDF' cannot be opened because it is version 611. This server supports version 607 and earlier??
Hi, I have tried to attatch a database ,created by SQL server Express within a C# application , in SQL server 2005 Enterprise edition, but the following error message appears: ----------------------------- TITLE: Microsoft SQL Server Management Studio ------------------------------ Attach database failed for Server 'MEDO'. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft SQL Server&ProdVer=9.00.1187.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach database+Server&LinkId=20476 ------------------------------ A ...Show All
.NET Development Removing element tag names during serialization
Hello all, I have what appears to be a simple question but after quite a bit of research I can't seem to find an answer. Basically, I am serializing a class into an XML document. This is creating a XML doc that includes the following: <Document:File> <buffer>JKDIDIEJ</buffer> </Document:File> What I would like to do, is to remove the <buffer> tags while serializing, so that only the data would be present. Because of the structure of the pre-existing XML, I can't change buffer to just include it in the Document class. So is there a command, function, or the like that I can pass to the XMLWRite ...Show All
SQL Server using package variables as parameters in Execute Sql Task
Hi, I need to run an SQL command, in which one of the fields is based on the current time, represented as a string in a specific format. I used a script task to create the string from the current time, and store it in a package variable named "newDate". Later, in the execute sql task, I have the following update statement: "update table_1 set field_1 = " (OLE DB connection is used) and in the parameters mapping I set parameter 0 to the string package variable "newDate". The problem is that on runtime, the sql executes with the default value of the variable - i.e. it doesn't take the new value. I c ...Show All
Visual C++ opening documents ?
hi i'm new to this, Can anyone help every time i try to open my documents or my folders, window mircosoft sends me a message saying Dr Watson postmorton debugger, Then close's my page. How can or how do you stop this cause i carn't get into any of my folders. Wrong forum! Try asking this in the Microsoft newsgroups. http://www.microsoft.com/communities/newsgroups/default.mspx Also try this CP forum :- http://www.codeproject.com/script/comments/forums.asp forumid=1644 sparra06 wrote: hi i'm new to this, Can anyone help every time i try to open my documents or my folders, window ...Show All
Smart Device Development Encrypt an Xml Document
I am using XML file as database in my application. i want to encrypt that XML file while saving it on the device. can u please provide some pointers to that. Does System.Security.Cryptography support encryption of a Xml file. Please reply asap. I guess it's the easiest to actually encrypt the database data when adding it to the dataset (or whatever you us as the 'database'). That can easily be done by using the mentioned cryptography functions. ...Show All
SQL Server Hows does SSIS improve concurrency without loacking
Now, DTS runtime uses multiple threads for execution to improve concurrency, performance and scalability. In order to avoid having more than one thread attempt to access the same variable at the same time, all access to variables must be made "safe" by locking them for your operation. How does SSIS fare on this count IS does this with the VariableDispenser object. It's exposed in the script component and task. It essentially locks variables for you. ...Show All
Visual C# How do I add annotations to an existing PDF file?
Hey howzit, I have been searching the net for ways to adding annotations (sticky notes) to PDF files programmatically, I have found one library on sourceforge.net called ITextSharp, but it creates a new PDF file (see code below) and then allows one to add annotations, I want to add annotations to an existing PDF file that is already filled with data and text. // step 1: creation of a document-object iTextSharp.text. Document document = new iTextSharp.text. Document (iTextSharp.text. PageSize .A4, 50, 50, 50, 50); // step 2: // we create a writer that listens to the document iTextSharp.tex ...Show All
Visual Basic web camera in vb.Net
Hi, Does any one know how to control the settings of a web camera in vb.Net, like the brightness, contrast I found an example on the web that call the Windows API. Is there a .NET component for webCam Thanks. No, there isn't. At least, not a free one. You can use directshow to talk to your webcam, and there are C# wrappers around you could use, but there's no dedicated, .NET specific component. ...Show All
Visual Studio Team System Query for Empty String
Does anyone know how to query for an empty string when writing a new query for work items in TFS For example, I want to write a search clause something like History = "" . However, the only two operators in the dropdown list are Contains and Does Not Contain. Does anyone know how to do this The reason I am doing this is because I want to write a query that returns all work items that have been flagged as resolved but have not yet been included in a build. I've noticed that the History field seems to always be empty for this condition (although I haven't completely proved that yet). If there is another way to get this query ...Show All
Visual Basic {Resolved} Reciving Command Line Arguments in windows forms
I have associated all .jpg files with my application I made. So when I click the file, windows starts my application. How do I have my application recieve information about the file so that I can load it Thanks, I don't know what this process is called, so I have had a hard time trying to find tutorials for it. Here is what I was looking for: Environment.GetCommandLineArgs() :::This will return a string array of command line arguments (like a list of file names and others) ...Show All
