eja's Q&A profile
.NET Development dataadapter doesnt generate update insert commands
Hi all. Ive a problem with dataAdapter that can't generate delete and update commands with the wizard. First, i have a simple project where im trying to save data to a simple 3 fields table table (CostumerID, Costumer ,Address) , without keys. (access database) I add a new data source with the wizard that makes the connection, i select customer table and vb 2005 (express) creates the dataset. At dataset design view i realize that update and delete commands arent generated. If i configure the adapter with the wizard and selects generete direct methods doesnt work. It leaves update and delete commands blank. ive tried to manually sel ...Show All
Visual Basic mscomm vb6 --> vs2005
I have a very simple vb6 program I want to convert to VS2005. MSComm is nolonger available and I don't understand how to receive data without the mscomm_OnComm() event. Please advise. Also, can this be implemented so that the code is exposed to MSAccess 2000 Ultimately I need to communicate to a piece of Lab equipment connected to the serial port using a production application written in MSAccess. Thanks *VB6 Code* Dim Buffer As String Private Sub MSComm1_OnComm() If Me.MSComm1.CommEvent = 2 Then Buffer$ = Me.MSComm1.Input & ...Show All
Smart Device Development landscape skin available???
My ppc , Qtek v14.. is default landscape instead of portrait. It's possible to turn the screen to portrait physically but then I can't access the buttons. This devices is mean for landscape in combination with text input are there landscape skins for windows mobile 5 No, there are no landscape skins available for Windows Mobile 5.0. I'm not sure I understand the rest of your post - "but then I can't access the buttons" - is this referring to your Qtek device, or to rotating the DeviceEmulator to landscape Thanks, Barru ...Show All
Windows Forms Drag & Drop row reordering on Databound DataGridView
I have been dragging on this problem for more than a week. I hope someone can help. I follow the sample in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=201079&SiteID=1 to implement the dragdrop function on a databound datagridview. At first, I used myDataTable.Rows.RemoveAt(dragRowIndex) as in the sample code provided by Mark. However I found the RemoveAt command did not do it's work and an extra record was created each time I use the function. Now I replaced it with Delete as below: Dim rowItemArray As Object() = myDataTable.Rows(dragRowIndex).ItemArray Dim row As DataRow = myDataTable.NewRow() row.Ite ...Show All
.NET Development Transformation of Binary Data
Hi friends, I have an XML file with one tag having binary data(image Content) base64 encoded - now, I would like to know how can I apply stylesheet (XSL) on that XML file and get that binary data(image) back. Let's discuss it in this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=398112&SiteID=1 Best regards, Anton ...Show All
Windows Forms Saving a webpage and all it's images to html file
Hello, Is there a way that I can save a web page as a HTML file and all of it's images from VB.NET without prompting the user I basically want to automate the file save as html in internet explorer. I have been trying with the axwebbrowser control and only managed to do it with a prompt, any ideas on this would be very helpful. Regards, Matt I would be glad to look into a solution for this only if I was confident that you don't plan on using this to "steal websites". ...Show All
SQL Server Buffer Exception
When running a package created on my local machine i get no errors at all but when i try to run the same package on the server i get an error specifying Microsoft.SqlServer.Dts.Pipeline.DoesNotFitBufferException: The value is too large to fit in the column data area of the buffer. I have tried changing the defaultbuffersize of the data flow task but this makes no difference. I think that a buffer size for a particular column is being exceed but i cannot find anywhere to set this property. Has anyone else struck this error ...Show All
Visual Studio 2008 (Pre-release) CustomControl ConverterParameter
Hello, I would like create a custom control and i need to convert value for displaying. The convert of this value depends of an other property of my control and i would like to take my control in ConverterParametrer I hope you understand what i wrote because. Thanks for your help Exemple : < ResourceDictionary xmlns = " http://schemas.microsoft.com/winfx/avalon/2005 " xmlns:x = " http://schemas.microsoft.com/winfx/xaml/2005 " xmlns:local = " Local " > < local:ConvertWithNormalisation x:Key = " {ComponentResourceKey TypeInTargetAssembly={x:Type local:Custom ...Show All
Visual Studio Team System Every thing is "Added Later" in the report Unplanned Work
When I look at the report Unplanned Work I see a graph only containing "Added Later" figures. How come every thing is Unplanned Work How does TFS keep track of what is planned and what isn't This report doesn't make any sense for me as it is right now. I'm using TFS Beta 3 Refresh with The MSF for Agile Software Development (build 98) and Visual Studio 2005 RTM. Thanks , Kristofer Hi Kristofer, I apologize for the delay in replying to your question. Many of us were out on holiday. "Planned" means that this work item was created on or before the "Plan Completion Date" (th ...Show All
Visual Basic WebBrowser control in VB 2005
Hi all. This code snippet from .NET 2003 ( http://support.microsoft.com/default.aspx scid=kb;en-us;311282 ) handles the opening of a new browser window using a webbrowser control. This allows me to have the pop-up window of a URL from my "form1" web page to open my "form2" web page, rather than in an independent instance of Internet Explorer. Private Sub AxWebBrowser1_NewWindow2(ByVal sender As Object, ByVal e As AxSHDocVw.DWebBrowserEvents2_NewWindow2Event) Handles AxWebBrowser1.NewWindow2 Dim frmWB As Form1 frmWB = New Form1() &nbs ...Show All
Visual Studio Express Editions Cannot install SQL Server 2005 Express
Hi, I have tried installing SQL Server Express 2005 a couple of times after installing Windows XP with/SP2. Also, I noticed that SQL Server 2005 was installed in the Add/Remove area within the control panel. Thus, should I remove the SQL Server 2005 things and retry the installing of SQL Server 2005 Express Thanks in advance, -Conrad Something that came as a suprise to me after initially installing sql ee, was that there was no front-end. Unlike normal SQL server, or MS Access there was no gui to work directly with the database tools. At first I thought maybe I had hosed the install, or f ...Show All
Visual Studio Team System False Positive: Correct the spelling of the unrecognized token 'seperate' in the literal 'You may use standard...
Version 1.35 Error, Certainty 85, for LiteralsShouldBeSpelledCorrectly { Target : InitializeComponent():System.Void (IntrospectionTargetMethodBase) Id : seperate (String) Location : file:///C:/projects/Deployer/Deployer/Scripts/Actions/CopyFilesEditor.Designer.vb<263> (String) Resolution : "Correct the spelling of the unrecognized token 'seperate' in the literal 'You may use standard DOS wildcards. Use a space to seperate each file.'. " Help : http://www.gotdotnet.com/team/fxcop/docs/rules.aspx version=1.32&url=/Usage/LiteralsShouldBeSpelledCorrectly.html (String) Category : Microsoft.Usa ...Show All
Visual Studio Multi-User Capability
Is there any that multiple users can share a model, each changing or adding components without conflict Is this planned in any way David, Have a look at the following post. I think it answers your question. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=68168 Edward ...Show All
Visual Studio Team System Work Item Access control based on Work Item Type?
We'd like to give our customers access to TFS for reading e.g. bug-information. Thus we would need a speciel security group that controls this access, e.g. a "Bug-readers"-group. However, what is needed is to define access to particular types of Work Items, namely only Work Items of type "Bug". We don't want our customers to be able to see Tasks or Requirements. How can an access control for Work Items be set up for specific Types or based on information in other properties of a Work Item regards, *Martin. Probably the best way to do what you want is to use the Area Path fiel ...Show All
Windows Forms rounding numbers
I am displaying numbers in several text boxes and one of the numbers is always large. I want to round the numbers to whole numbers and eliminate the decimal. Here is my calculation Private Sub Command5_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Command5.Click Dim Sum As Integer   ...Show All
