VS 2019 Import large XML file into datatable: OutOfMemoryException was thrown
Hi all, I have a large xml file (about 2Gb) and I'm trying to import it into dataset or better in SQL Server. I read that to solve issue of memory, it's better to use XmlReader... So I started with...
View Articleediting posts in quick reply
previously could click to edit post, would be like a quick reply, now it always like go advanced any chance they will bring back this feature?
View ArticleVS 2019 [RESOLVED] Ok, I messed up my VS settings...
Hi all, Ok, after the last VS upgrade, I noticed some of my editor settings had changed (I had lost the navigation drop-down lists that are usually displayed at the top of code window...) I have...
View ArticleProblem in class defination
Hi, For learning purpose, I tried to write a simple code for calculating rectangle area in Console Application. For this, I tried to use Class (I want to learn classes). I learned from a tutorial which...
View ArticleConditionally Run & move the .bat file shortcut(i.e .lnk file) by vba macro
Code: Public Declare PtrSafe Function ShellExecute _ Lib "shell32.dll" _ Alias "ShellExecuteA" ( _ ByVal hwnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal...
View ArticleHow do I compile without linking in VB6?
I suspect I need to do it from the command line. In the VC++ compiler you can use the /c command line option to do this. In VB6 it seems that VB6.exe doesn't take /c as a command line switch. However,...
View Articleform visuals keep redrawing..
I've got a form (game) with a nice hi res background.. and a few dozen controls on it (buttons and picture boxes).. depending what is going on controls are shown or hidden.. my gripe with this is that...
View Article[RESOLVED] Center Object or Control
Hi there, I'm trying to make a combined Object and Control Center function, but I'm getting error message saying: "object doesn't support property or method" I'm calling my function like this at...
View ArticleTrying to display message in without refreshing page?
Hi, I have a contact form on my page that sends an email. I have a <label> tag that will contain a message, be it successful or an error in the form. The problem I'm having is that my script is a...
View Article[RESOLVED] form visuals keep redrawing..
I've got a form (game) with a nice hi res background.. and a few dozen controls on it (buttons and picture boxes).. depending what is going on controls are shown or hidden.. my gripe with this is that...
View ArticleVS 2013 A function to create datatable?
Hi everyone. I've got something puzzling. If I use this code to create a Datatable, it works fine: Code: DataTableBuffer = New DataTable() DataTableBuffer.Columns.Add("Wavelength")...
View Article[RESOLVED] disable further textbox changes
i want to change textbox value only one time and disable it , so even if i click command2 it should not change, value must remain same how can i do this ? Private Sub Command1_Click() Text1.Text = "1"...
View ArticleThread Hook- On for Some Forms but not All Forms?
I modified The Trick's module to do multi-line tooltips. It involves setting and releasing a hook. I have historically been a VBA programmer so I am relatively new to hooks. Upon examination of the...
View ArticleTCP TraceRoute
I need to expand my code to be able to do a TCP trace route in code (Using syn packets with increasing TTL) in the same way that the linux command line utility does. Does anyone here have any...
View ArticleRun-time Error
Hi! I Can't get this code to work. When i run it i get a RUn-time error '-2147467259 (80004005)': Method 'Document' of object 'IWebBrowser2' failed. I seems to be something wrong with the row "Set doc...
View Articlehttp://planet-source-code.com/ is down?
Peraphs i'm OT, but http://planet-source-code.com/ is down?
View ArticlePictureBox flickering while Resizing the Form
Hi there, I have some trouble resizing the Form and the controls inside the PictureBox, it flickers while resizing the Form. I have tried already LockWindowUpdate, WM_SETREDRAW, AutoRedraw and can't...
View ArticleHow Can I specify folder location for my ConfigurationManager...
My desktop application communicates with a external shortwave radio and can read and store specific station names and frequencies for future recall. I have been using Configuration manager to store...
View ArticleHow to disable auto-save feature in VS Pro 2019?
Hi When I want to test some codes, after running the codes, VS Pro saves it, but I want to save only when I press the save button. Is there any way to disable auto-save feature?
View Article