Topics
-
-
- *Experts*
- 3 replies
- 1.7k views
Hi all I have the following xml file <?xml version="1.0" encoding="utf-8" ?> <root> <data id="Home1"> <text> <![CDATA[ Using your web browser or mobile phone, Clubtext allows you tosend SMS <br> text messages to your customers, teams, staff, or club members in an easy<br> to use cost effective manner. <p>Clubtext includes an administrative set of features to allow you to <br> manage customer/membership details and history.]]></text> </data> <data id="Home2"> <text> <![CDATA[ This is the data that belongs to home 2. Hello world,…
Last reply by alreadyused, -
-
- 1 reply
- 1.4k views
I have searched through the forum for a method to download the html code from webpages and found some threads easily. So far I have: Public Function GetURLSource(ByVal URL As String) As String Dim wClient = New System.Net.WebClient() Dim buffer As Byte() buffer = wClient.DownloadData(URL) GetURLSource = System.Text.Encoding.Default.GetString(buffer, 0, buffer.Length) End Function On most webpages it works as it should, but on the webpage I want to read from it doesn't. For example http://anidb.info/perl-bin/animedb.pl?show=anime&aid=96 I want to read the page so I can get the episode names from the series. But all the fu…
Last reply by MrPaul, -
-
- Leaders
- 1 reply
- 8.8k views
A few people have asked about bitmap manipulation recently. The biggest problem with GDI+ is that it can be pretty slow, especially on color-based per-pixel operations, since the only easy means of doing this is with the GetPixel/SetPixel function pair, which is slow This tutorial explains how to lock bitmaps and more directly access the data to give your app a huge performance boost. Code examples and samples are given in C#, but a language-neutral approach was taken (no pointers) so that the code can easily be converted to VB or C++ and is verifiable by the runtime. http://ilab.ahemm.org/tutBitmap.html Comments are welcome, here or by e-mail. Enjoy. Or don't. W…
Last reply by snarfblam, -
-
- 4 replies
- 1.3k views
Ok I have a program that imports ASCII text file to create a DBF file. Just creating the DBF file is not an option, if it was life would be grand. The ASCII text file has a format that goes as follows The complete line is 132 characters long and based on the information in the line more or less information is added to the new file. the 132 characters are just 20 columns with no delimiters. i have created an excell file that will create the above structure but I can only export it with delimiters. Sounds easy enough, read the exported text file into an array the write the array back to a new text file, but I am having some issues. If there is nothing in a column I…
Last reply by ZeroEffect, -
-
- *Experts*
- Administrators
- 6 replies
- 58 views
I noticed that we are on vBulletin 3.0.1 while 3.5.x has come and gone and now they are at 3.6.x. Are there any plans to get us up to date, or are we forever stuck in the stone age? Not that it's a big deal, but vB 3.5.x introduced some very interesting features.
Last reply by Mat Sumpter, -
-
- 1 reply
- 1.1k views
Hi, Im working on this project in VS2005 and im mainly programming in VB but i've used 3 C# projects in the solution. Each one of these projects has a dll file. How do i deploy this solution? do i include the primary output for each project or do I just add the dll files?? Thanks
Last reply by mskeel, -
-
- Administrators
- Leaders
- 15 replies
- 1.4k views
hello i am vb user and now i try to learn the vc#. i want to learn how can i change the properties from one form to other. for example in vb. if i write this code in the form2 Form1.Label1.Text = "My Text" then the label from form1 will change the text. how can i make the same in VC#?
Last reply by ditoskas, -
-
- 7 replies
- 1.6k views
I'm creating an autotext facility in a richtextbox (like in Word where entries like "Yours faithfully" are suggested with a tooltip). If the user clicks away from the richtextbox then then the autotext suggestion should vanish. But this is easier said than done. The richtextbox's leave and lost focus events don't occur if the user clicks on the parent form for instance. I can approach the problem by capturing the mouse as follows: Private Sub RichTextBox1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles RichTextBox1.KeyUp Me.RichTextBox1.Capture = True Me.RichTextBox1.Cursor = Cursors.Default 'I'm sure this line s…
Last reply by Denaes, -
- 1 reply
- 1.1k views
Good Afternoon, I have a DataSet ds. This contains 2 Tables, Table1 and Table2. I display Table1 on a Grid and Table 2 on another Grid. Table1 is the parent of Table2. When I create a new row on the Grid for Table1, I go to the database to insert the new Table1 row into the Table and get the Table1ID. For this I define a DataTable dtChanges = ds.Tables["Table1"].GetChanges() and call a stored procedure with table dtChanges. The ID is blank in ds.Tables["Table1"]. However, after my insert into the database I have the real ID. What is the easiest way for me to update ds.Tables["Table1"] with the ID? Thanks Guha
Last reply by Denaes, -
Sitemap...
by mike55-
- Administrators
- 1 reply
- 824 views
Hi all I have to include a sitemap in my project. I am however having problems understanding what I exactly put into the sitemap. So far I have added the sitemap item to my project. What I don't understand is what exactly do you put into the sitemap, i.e. is it simply identify the various links per page, and add them as sitemapnodes under the sitemapnode for the page. Or do I just add random items to the sitemap? Mike55.
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 4 replies
- 1.2k views
I want to use membership on my website and i've setup a role called members. I've set the database up on an SQL 2000 server using the tool. I have a windows application with 2000 member accounts on, these are also stored on SQL 2000. I want to go through this database and automatically add the members so they have matching accounts on the website in the members role. How do I do it, what I mean is what entries do I need to make in the membership database(s). Thanks
Last reply by tfowler, -
-
- 1 reply
- 2.6k views
How can I add a close button to a tab? Like in Firefox 2, you have a small button on the right on every tab, to close it. Is this possible, and if so, How?
Last reply by Ginanity, -
- 3 replies
- 1.4k views
right now I use this as a messagebox/warning. But what I want is to be able to display a Yes/No type alert and capture the choice for server-side processing. I know that this is possible.. I just don't know how. can anyone please help me.
Last reply by Jitesh, -
-
- Leaders
- 0 replies
- 12.9k views
This is just an overview of what a good DotNet programmer should know about garbage collection and disposable objects, prompted by this post. Garbage Collection There are plenty of thorough articles about garbage collection, so I will only quickly cover the basics. All class objects, or "reference type" objects, are tracked by the garbage collector. At certain points that the garbage collector deems safe, execution of a program is halted and the garbage collector identifies which objects are reachable and which objects aren't. This is done by starting at certain "roots" and tracing references to see which objects are still connected to the program one way or anothe…
Last reply by snarfblam, -
-
-
- Administrators
- *Experts*
- Leaders
- 19 replies
- 3.4k views
I have an application in which I am trying to work some bugs out of. I have started out by using the .NET Profiler in order to try and track down some memory problems. That is somewhat working as I have found the cause of a few and still have quite a few to go. Another problem is that while my application is running and I am opening and closing windows, my handle count(viewable through the task manager) continuously goes up and never comes down. I ran Handle by SysInternals and determined that it looks like the handles that keep going up and never coming back down are Mutant handles(I guess this means mutex handles). How can I track down this problem and what to do a…
Last reply by snarfblam, -
-
- 1 reply
- 1.1k views
I have a textbox that I set the EnableViewState property to false. The problem is that it is holding it's state after postbacks. I have other controls that I do this for and they work fine. How can I make it so my textbox doesn't hold it's state after postbacks? Thanks!
Last reply by Jitesh, -
- 1 reply
- 3.1k views
Hello, Dim str As String = "{command}somthing{command}" How could I get the text between {command} using regex? e.g. return the string "somthing". Thanks, Max
Last reply by mskeel, -
-
- Leaders
- 0 replies
- 12.6k views
Ever wish the picture box could scale images without using bilinear filtering (for example, when viewing/editing video game graphics)? In the past I had written controls from scratch that emulate the PictureBox but used my desired interpolation. Then I was hit with a stroke of common sense. I've extended the PictureBox class to enhance it with the ability to use various interpolation modes, including the video game creator's best friend, nearest neighbor. using System.Windows.Forms; using System.Drawing.Drawing2D; using System.ComponentModel; using System; namespace iLab { /// <summary> /// A PictureBox control extended to allow a variety of interpolations…
Last reply by snarfblam, -
-
- 0 replies
- 1k views
Hello, how to create resource files or something similar to create a multilanguage setup for deployment? If there is no normal method, can you please tell me how to add scripts to automate the language part? Until now I've found only the part where to change the properties but they cannot be changed on the fly. Thank you for your attention
Last reply by alberto1, -
-
- Leaders
- 6 replies
- 1.5k views
I need to impliment a scheduler in my program. Basically if someone selects to do something at a certain time I want it to run my code. My question is, do I need to run a timer control and constatnly check datestring and timestring? Or is there an easier way of doing it? Thanks in advance.
Last reply by mskeel, -
-
Who's Online 0 Members, 0 Anonymous, 43 Guests (See full list)
- There are no registered users currently online