Topics
-
- 1 reply
- 1.3k views
Hai I am developing an webservice which need to return out as XML file e.g(<ResponseXml><TransactionId >101398</TransactionId ></ResponseXML>) But my web service is returning like this(<?xml version="1.0" encoding="utf-8" ?> <string xmlns="lax"><ResponseXml><TransactionId >0</TransactionId>) can any one tell how can i remove the extra lines while returning here i want to remove (<?xml version="1.0" encoding="utf-8" ?> <string xmlns="lax"> this lines i want tp cut please suggest me how do i procede
Last reply by Nate Bross, -
- 2 replies
- 1.4k views
Hi all, I have a question, what's the opposite of SORT? UNSORT? DESORT? or something else? I looked up dictionaries but didn't found that, Please help me, thanks
Last reply by Nate Bross, -
-
- Administrators
- 3 replies
- 16 views
Problem(s) with the ads inserted into older threads... http://www.xtremedotnettalk.com/showthread.php?t=101396 has the details. Is there any chance the adverts could be moved above or preferably below the posts as it makes the code etc. much harder to read and therefore the forum much less useful.
Last reply by PlausiblyDamp, -
-
- 6 replies
- 2.7k views
Hello all ! I have a CheckedLiskBox control on my form. I would like to "run" on this control and enter each item of it into a dataset table. I 'run' on it this way: Dim o As Object For Each o In frmExam.clbSystemsHead.Items With dsSystemsReviewDetails.Tables("SystemsReviewDetails") Dim drSystemsReviewDetails As DataRow = .NewRow drSystemsReviewDetails("Id") = frmExam.txtID.Text drSystemsReviewDetails("boolean") = ??? .Rows.Add(drSystemsReviewDetails) End With Next What I don't know is how do I know if the current item in the loop is selected or not. I mean, if the item is checked in the CheckedListBox, I wan't i…
Last reply by meekredd1, -
- 0 replies
- 2.9k views
Is there a way for find out the associated process ID from a COM object like this: Excel.Application ExcelObj = new Excel.Application();
Last reply by alanchinese, -
- 4 replies
- 26.2k views
"Update requires a valid UpdateCommand when passed DataRow collection with modified r I"m trying to update the database from my datasetusing this code: Dim oConnection As New SqlConnection("Server=localhost;DataBase=cartisiyot;Integrated Security=SSPI") oConnection.Open() Dim cmd As New SqlCommand() Dim strsql As String strsql = "SELECT * FROM main WHERE musag = '" & musag.Text & "'" cmd.Connection = oConnection cmd.CommandText = strsql Dim datareader As SqlDataAdapter datareader = New SqlDataAdapter(cmd) datareader.Fill(myDS) msg.Visible = False updat…
Last reply by kasyoki, -
- 1 reply
- 1.3k views
I am in the process of re-writing a vb.net windows application into a vb.net web application. I have a problem. In the vb.net windows app I used the DataGridTableStyle to successfully format a grid (datagrid) within code. The code looked something like this: Dim dgts1 As New DataGridTableStyle With dgts1 .MappingName = sptable End With Dim grdColumn1 As New DataGridTextBoxColumn With grdColumn1 .MappingName = "Unit_Number" ' mapping to SQL Server column name .HeaderText = "Unit" .Width = 45 End With dgts1.GridColumnStyles.Add(grdColumn1) And so on.....…
Last reply by Nate Bross, -
- 1 reply
- 873 views
Hi, all! I was wondering if anyone knows how to adjust the granted security zone for a .NET ActiveX control? I am currently working on a project that will allow me to list my user's tasks in Outlook, but am unable to run the control without giving the security zone it's part of unrestricted access. When I launch it locally, it is part of the Intranet zone. When I launch it for my users, it will be part of the Internet zone. Unfortunately, neither of these are desierable, as I need the MyComputer zone. I would honestly have no problems with launching this in the Intranet zone and setting each user up with the proper security, since anything launched under Int…
Last reply by Fork501, -
- 2 replies
- 1.3k views
In my application I use report viewer (not reporting services) to display invoices. Can anyone help with how i could print like 20 invoices at once? The user would give a command that would ask the software to print from invoice 100 to 120. I am guessing that i should use the print document control but how do i pass the data from the report viewer to the print document? Thanks
Last reply by Puiu, -
- 0 replies
- 2.5k views
I've just recently learned about the Installer class in Visual Studio. There are several websites that talk about how to set different parts of the Installer class and how to get it to do different things, but nothing has really shown me how to start an Installer project. Does anyone know of a tutorial on this? Is there a website that steps through the process? Is there some other keyword that I should be searching on? Thanks for any feedback - even if you stumble upon this years from now. I'm open to more input!
Last reply by joe_pool_is, -
- 4 replies
- 11.2k views
Can someone direct me how to stat my program immediately after install. I'm using VS.Net 2005. Thank you very much.
Last reply by joe_pool_is, -
- 1 reply
- 4.4k views
How can I place a comboxbox control and other controls in a column of datagridview control in vb.net ? If we can do so, then how can we access the values of these controls ?
Last reply by ajeeshklr, -
- 3 replies
- 1.4k views
Hi, How can I convert a color in a format like: Color [A=255, R=255, G=255, B=255] to a format like: #ffffff ???
Last reply by MrPaul, -
- 0 replies
- 1.1k views
Hi, I have a simple grid view accepting query "SELECT * FROM LARGE_TABLE". One of the columns contains a string with 1000 characters. How should I do to force all the columns not to wrap without specifying each column? Thanks, Alan.
Last reply by alanchinese, -
- 2 replies
- 4.5k views
I know if I use the following line that my data set will be sorted by the column I want. dsEvents.Tables("Events").DefaultView.Sort = "RunTime" Here is how I am getting the data tbEventName.Text = dsEvents.Tables("Events").Rows(DataGridView.CurrentRow.Index).Item("EventName") tbCommand.Text = dsEvents.Tables("Events").Rows(DataGridView.CurrentRow.Index).Item("Command") dtpTime.Text = dsEvents.Tables("Events").Rows(DataGridView.CurrentRow.Index).Item("RunTime") cmbBox.Text = dsEvents.Tables("Events").Rows(DataGridView.CurrentRow.Index).Item("ComPort") Days(dsEvents.Tables("Events").Ro…
Last reply by ZeroEffect, -
-
- Administrators
- 2 replies
- 60k views
There are a bunch of places where I use a string value such as "6" or "10" where I want to display it as "000006" or "000010" (6 characters, 0 padded). Within a GridView [asp.net 2.0] this is easy as I simply use the DataFormatString {0:000000}, but how can this be achieved for a normal string that I use to populate a DrillDown or Label witin a .cs file? How can I pad a string with "0"'s so that it is always X characters long? Any help would be greatly appreciated... Thanks,
Last reply by MrPaul, -
-
-
- Administrators
- 3 replies
- 1.6k views
I have some C++ code that I wrote while at Uni (I'm in a year work placement at the minute) that's along the lines of: ClassA* p_classA; ClassB* p_classB; ClassC* p_classC; switch(someInteger) { case 1: p_classB = new ClassB; p_classA = p_classB; break; case 2: p_classC = new ClassB; p_classA = p_classC; break; (.. and so on..) } p_classA->Something(); I came back to look at it as it does what I want to do at work in C# - that is to work with either ClassB or ClassC without knowing which, via a pointer of ClassA (which both ClassB and ClassC derive from), upc…
Last reply by 3xodus, -
-
- 1 reply
- 834 views
Hia All, I need some help creating faxes through VB.Net. Now, I've gathered the the function to send faxes will resemble something like this: Private Sub CreateFax() Try Dim objFaxDocument As New FAXCOMEXLib.FaxDocument Dim objFaxServer As New FAXCOMEXLib.FaxServer Dim JobID As Object objFaxServer.Connect("bhm-lapt") objFaxDocument.Body = "C:\Dev\Test.txt" objFaxDocument.DocumentName = "My First Fax" 'objFaxDocument.Recipients.Add("0866953105", "Bud") objFaxDocument.Recipients.Add("0123456989", "Barend") objFaxDocument.AttachFaxToReceipt = True objFaxDoc…
Last reply by Domini, -
Helper Class for DX8
by Guest ShahMat-
- *Gurus*
- 4 replies
- 2.6k views
I recently converted a perfectly fine DirectX 8.1 program from VB6 to VB.NET and it broke! No problem, I got most of it fixed, but I noticed in the upgrade report that unattached functions are not allowed in VB.NET. I needed to use the D3DColorRGBA function to convert a hex RGBA value to an integer (long in VB6) but since it's not attached to a class, it got dropped from the type library. So I whipped up this little class that you can compile into a VB6 dll, import as a reference, and use as D3DCOLORAUX global functions. Enjoy! PS since this has more to do with fixing old apps to work with .NET, does this thread go here or in the DirectX forum? Or maybe both...?
Last reply by one, -
-
- 1 reply
- 819 views
Is it possible to retreive contents in files in sharepoint from a .net application? I want to display part of the file in asp.net.
Last reply by Nate Bross,
-
Who's Online 0 Members, 0 Anonymous, 51 Guests (See full list)
- There are no registered users currently online