Topics
-
- 1 reply
- 1.5k views
Hi I am using the System.Net.HttpWebRequest class. I call the method GetRequestStream() to write data to the body of the http message but the program hangs and I never get the Stream I want.
Last reply by HJB417, -
- 1 reply
- 3.7k views
I have searched high and low for this, but I can not find it. How do I set the restrictions when retrieving the foreign key schema to not retrieve the system tables information? Thanks, Chester
Last reply by pelikan, -
-
- Leaders
- 4 replies
- 930 views
Hi all, I'm getting an error in my Windows application when it tries to write in the HDD.(write a simple txt log file). This is strange because the application at 2 days ago ran without any problem and all the log's i wanted to write were created. The error is not create dby my application is generated by the framework, at least that's the messsage that appears. I search in google and i found that the ASP.NET account may cause this problems that has something to do with CAS (code access security), but i still have the problem and my program crashes all the time there. I reviewed permissions, repair the assemblies with framework tool, i deleted the asp.net account…
Last reply by teixeira, -
-
- 4 replies
- 667 views
Dear All, This is my first post in the forum, though I've posted loads of times in XVBT, so I'll make this a nice meaty one for the experts (I hope). Presently, I have defined a data tree structure to hold diary information. The structure works something like: Event (container) | +- Event (container) | +- Action (container) | | | +- Causality | +- Causality Basically, each event can contain further events or an action or causality. Actions can only contain causalities. Each object that changes invokes a change event. Each container that changes invokes a change event. My problem is that I don't know how to promote change events up the hierach…
Last reply by Machaira, -
-
- Leaders
- 2 replies
- 841 views
If I have a long value what is the fastest way to create an array of bits representing it? For example if I have 1 I'll get: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 2 will give: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0 3 will give: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1 11 will give: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0…
Last reply by mark007, -
-
-
- Leaders
- 3 replies
- 926 views
Hello everyone... i'm getting crazy trying to understand how to build a vb code that return the full source code of a website... I've actually builted a BHO that show the source code of a all the web pages that I surf in the InternetExplorer but for doing so I've used "Ie.document.body.outerhtml" and it doesn't show all of the source code as seen in notepad when clicking "view source"... Is there any way to show all of the code...? p.s. The site is rendering different code for each time you load it so having other software/activeX/dll load the same site is not possible.... It must be a way that just show all the code like it is seen in notepad but without loadi…
Last reply by Iceplug, -
-
-
- Leaders
- 1 reply
- 985 views
I was wondering if any game programmers out there would care to help me pick a decent program for creating bitmaps. I do a bit of graphics using VB.Net and would like to create better pictures (I'm not much of an artist). I would like to know the following... -if another "paint program" could add an isometric look to a picture -if there were ways to rotate parts of an image (in a 3-d kind a way, not just by angles of x and y, but z also) -if there were easier ways to creating animation frames in a single file -if there were image masking parts that could create a mask with the program (I do have functions in my programs to convert the …
Last reply by Iceplug, -
-
-
- Moderators
- Leaders
- 2 replies
- 1.1k views
Hi i'm using a dropdownlist in my rowfilter but i don't seems to get it work. Please help... Dim getValue As String getValue = DdL.SelectedItem.Value() dvInfor.RowFilter = getValue = " & TextBox3.Text & "
Last reply by Iceplug, -
-
- 1 reply
- 863 views
Ok this code works great for importing cobobox options from a text file..... Dim myStream As New IO.StreamReader("file path") Dim fileLines As New ArrayList While myStream.Peek <> -1 fileLines.Add(myStream.ReadLine()) End While myStream.Close() Me.ComboBox1.DataSource = fileLines But.... I have a button on that form that says find job. When the user presses this button it needs to load a text file depending on what the option was they choose from the drop down list. Now I know how to do this if the list is hard coded. You just do if and elseif commands... but I do not know how to code it for s…
Last reply by Machaira, -
-
- Administrators
- 4 replies
- 900 views
<WebMethod()> Public Function GetUsers() As XmlDocument Dim xmlDoc As New XmlDocument Dim s As New System.Text.StringBuilder Dim sPath As String Dim sw As IO.StreamWriter ... With s .Append("<?xml version=" & """" & "1.0" & """" & "?>" & vbCrLf) .Append("<Users>" & vbCrLf) If Not dt Is Nothing Then For i = 0 To dt.Rows.Count - 1 'here we create the entries for all files .Append("<UserName>" & dt.Rows(i).Item(0) & "</UserName>" & vbCrLf) Nex…
Last reply by TheWizardofInt, -
-
Hi All Hope you can help, I am trying to open word and pass the document to open as a string. If the string is c:\bin\calllog.doc then it opens fine but if the path includes spaces then word says it can't find the document ie c:\Documents and Setting\Administrator\My Documents\CallLog.doc Can some one please tell me what it is I am forgetting to do :confused: this is the code I am using Process MyProcess; string ProgramToRun = "WINWORD.EXE"; string DocumentToOpen = dataaccess.rowActions[dataaccess.colACTAttachmentPath].ToString() + dataaccess.rowActions[dataaccess.colACTAttachment].ToString(); MessageBox.Show(DocumentToOpen); MyProcess = Process.St…
Last reply by jmcilhinney, -
-
- Moderators
- 14 replies
- 1.9k views
Hi all, I need a favor here. As you can see, stripping HTML Tag from an input is, in my opinion, a need is web application. When I use PHP, I found a function to do that. But currently, I'm using ASP .Net. So, I'm looking for something similar in .Net framework. I've been searching it in the .Net Framework, this forum, and the internet. The best I can find is a user-defined function. My question is ... isn't there a built-in function in .Net to handle Tag Stripping or do I have to use Regex to handle it? Thanks.
Last reply by Robby, -
-
- 0 replies
- 781 views
Hi, I am presenting the crystal reports to my users on a seperate page in .pdf format to the page on which they enter the report parameter information. Once the user has entered the information parameters on the first page, and click the Ok button, I simple go Response.Redirect to the page on which the report is on. The problem occures when I click the back button on the web browser, I sometimes get the above warning. Can anyone suggest a solution for stopping this error from occuring or should I be responding in some particular manner to this error. Mike55
Last reply by mike55, -
- 13 replies
- 2.2k views
I have a form in VB.NET in which users will need to make new jobs and so on which means the drop down list will need to change all the time. The information is stored in either RTF files or text files. I need to know how to do this... when the form opens, I need that combobox to load its selections from a text file or RTF file. Can somebody show me a way of doing this? Thank you
Last reply by laroberts, -
- 3 replies
- 3.1k views
I am looking for a way to display the current time and date in real time on my forms on a label. Can somebody show me the exact code to do this? Thank you
Last reply by jmcilhinney, -
- 3 replies
- 836 views
This code doesnt seem to be working for adding a new record: Dim newcourse As Data.DataRow newcourse = NewCourse1.Tables(0).NewRow newcourse.Item("Name") = TextBox1.Text NewCourse1.Tables(0).Rows.Add(newcourse) NewCourse1.AcceptChanges() OleDbDataAdapter1.Update(NewCourse1, "Course") Why not? TIA
Last reply by bri189a, -
- 1 reply
- 12.9k views
How can I find the last row in a datatable through code? For example, lets say in table "TBL" there are the records ID Name 1 Name1 2 Name2 3 Name3 Through code, how can I find Name3 (without knowing that there are only 3 rows in the datatable)? TIA
Last reply by samsmithnz, -
- 3 replies
- 1.1k views
I am building an online catalog. For the product picture, I want a thumbnail on the screen, with a click-to-enlarge hyperlink on the bottom. But I want them to click the image too, by signalling they can do that by sorta making the image lighter or some way like that. How can I highlight an image (that can be resized by proportion to "PX" width or height) when user glides cursor across it on the screen, to appear as if it's clickable?
Last reply by david7777, -
- 3 replies
- 760 views
We just bought VS 2003 and have been working with ASP.NET 1.1 and now we'd like to move to use the Beta of ASP.NET 2.0. Is it possible to get VS 2003 working with ASP.NET 2 Beta 2? I don't want to have to pay just to get the latest and greatest objects and methods.
Last reply by david7777, -
- 0 replies
- 805 views
i have used the Tutorial: Exporting to Multiple Formats in the business objects help file. this teaches you how to create a report and export this to file formats such as .pdf, .xls,.doc etc. I get the error "Invalid report file path. " when i try to export the report. it is in the procedure # Public Sub ExportSetup() exportPath = "C:\Exported\" If Not System.IO.Directory.Exists(exportPath) Then System.IO.Directory.CreateDirectory(exportPath) End If myDiskFileDestinationOptions = New DiskFileDestinationOptions() myExportOptions = TestCrystalReport.ExportOptions 'this is where the error fire…
Last reply by cathiec,
-
Who's Online 0 Members, 0 Anonymous, 58 Guests (See full list)
- There are no registered users currently online