simmonsj_98's Q&A profile
.NET Development Connecting to AXIS web service with .NET and disconnected and unvalidated WSDL
I need some help solving a complex problem. My experience with web services has been with ASMX and .NET. I was given the task of writing a Windows Application client to connect to a web service on an Apache AXIS server. However, the WSDL is not hosted on the server, but rather provided to me separately. Now, I am not certain that the WSDL is valid in the first place, and even less certain whether it is valid for ...Show All
.NET Development Concurrency Violation with Delete Command
I've generated a standard Master-Detail Windows form and have the master fields in individual text boxes and the child rows in a datagrid. When I use the Delete button that was generated by the form generator I get the message "Concurrency Violation: the DeleteCommand affected 0 rows" and noting gets deleted. This is a single-user application and this is the only form using these tables, so how can I get a Concurrency Violation under these ...Show All
Visual Studio 2008 (Pre-release) Swapping Endpoints at Runtime
Hi, Is there a way to swap target service endpoints at runtime on the client side if I do not have access to the source Meaning, is there a mechanism (Behavior, Inspector, etc.) that would let me point a calling client to a different service endpoint at runtime I noticed I can modify the ServiceEndpoint in the ApplyBehavior, and it works, but I'm not sure if thats the best way. This would have to happen on a per-call basis. Thanks! Sinclair Schu ...Show All
Visual C# Any Problem in C# & SQL Server 2000 !
I'm a new C# & SQL Server 2000 user. I want to make an MCQ(Multiple Choice Question) type database application with C#(Visual Studio 2003), SQL Server 2000 in Windows XP. I will distribute this software through a Multimedia CD. When the client will use it what softwares they will have to install in their machine They may use Win98, Millenium, 2000 and XP. Please help & encourage me. hi, ...Show All
Visual C# When Using a "C" style comment /**/ how do I disable the automatic * on every line?
How do I disable or stop the IDE from adding a new * on every line after hitting the enter key when I am creating a "C" style comment /* * I don't want this line to start with * * I don't want this line to start with * **/ Like This: /* My comment is now easier to read. Because, there is no * in front of every line */ First of all I must say that I sofar like the VS2005 environment ...Show All
.NET Development C# generics - member names substitution?
Is it possible to substitute not just types but member names through generics symbols, ie struct ThreeVal<i dont know syntax> { T1 M1; T2 M2; T3 M3; } ...Show All
.NET Development SQL BulkCopy Class Bug
I am attempting to BulkCopy records from a DataTable into a SQL 2005 Table using the attached code: (I am using QA Data which is about 1000 rows) Public Sub New() SQLBCP = New SqlBulkCopy(Me.ConnectionString, 34) ExceptionErrorTable = New SQLDataTable SQLBCP.DestinationTableName = Me.DestinationTable SQLBCP.BatchSize = 1000 End Sub Public Function Execute(ByRef dtTable As DataTable) As Boolean Dim bFlag As Boolean = True Try SQLBCP.Wri ...Show All
Software Development for Windows Vista accesskey attribute
hello i am working in a asp.net mobile forms project. i have a link. <mobile:Link ID="lnkSearch" Runat="server" accesskey="1" NavigateUrl="~/Unauthenticated/Search.aspx" SoftkeyLabel="Go">1- Go Flinging</mobile:Link> .net does not support the accesskey attribute but it is a valid wml attribute. the IDE tells me "Warning 6 Validation (Mobile HTML): Attri ...Show All
Visual Studio Express Editions A small complaint from nobody
I have long been a Visual Basic coder. I read C++ quite well but really struggle to write it. Primarily because nearly every "example" I try to compile, will not. This makes it nearly impossible to understand how things are put together. Most of the time I can't figure out if I am formating my code the wrong way or just don't have one of the many compiler or references set correctly. So if anyone at Microsoft is paying attention, or ...Show All
.NET Development Operation must use an updateable Query
Hi, I am using VS 2003 and C# with OleDb connection to read and write from Excel spreadsheets. I have no problem reading Excel data but when writing to Excel I got this error on this line: oleCmdInsert = new OleDbCommand(@"INSERT INTO [Sheet1$A1:A1] VALUES ('ABC')", _oleConn); oleCmdInsert.ExecuteNonQuery(); Here is the error: System.Data.OleDb.OleDbException: Operation must use an updateable query. at System.Data.OleDb.Ol ...Show All
Visual Basic display time
in the timer_tick event i wrote the following to display time lbltime.Text = Now.Hour & " :" & Now.Minute & ": " & Now.Second the problem is it is displaying the time like 17:15: 56 It want the time to be displayed in 12 hrs like 2:30 PM or 10:30 AM how can i implement this Ken was good with his formatting but you'll probably need a little bit more to custo ...Show All
Visual Studio Express Editions Forms Designer
I am currently going thru the VB.Net Express Edition 2005 tutorials. In tutorial no. 2 they describe aligning controls and as you move a control a blue line appears to show you the alignment of 1 control to another. I cannot get this line to appear. Can someone tell me the setting to turn this feature on. Thank you It should just work - perhaps it doesn't work in Express It happens as you drag items, ...Show All
SQL Server sql mobile question
Hi friends, sorry for interposting but my question was left unanswered in another group. here's the question: The execution of follwing query against sql mobile DB goes fine in SQL Server Management Studio SELECT c.contactID FROM contacts c LEFT OUTER JOIN contactNotes cn ON cn.contactID = c.contactID but when I'm trying to execute it in Visual Studion, it transforms the query into: SELECT c.contactID FROM { oj contacts c LEFT OUTER ...Show All
.NET Development how to show string of data in text box using parmeter query
I am tryin to input an ID number and retrieve all the information from that particualr ID Private Sub btnSubmit_Click(Byval sender As System.Object By val e As System.EventArgs)Handles Button1.Click connClass.Open() Dim cmdStudents As New OleDb.Command Dim sStudents As String = Select Student Name, Information From ClassName Where Student ID = cmdStudents.CommandText = sStudents daStudents.SelectCommand = cmdStudents Dim cb ...Show All
Windows Forms Forms problem
Hi, what im trying to do is get the value of a textbox in form2 and then display it at the textbox of form1. heres my code FORM1 --------------- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click &nbs ...Show All
