Need help with textbox array
Everything appears to be in order until I run the program and click Button1. what I'm trying to do is setup (2) int arrays Ndeck[51 & Sdeck[51] Ndeck is a new deck of cards Sdeck is the shuffled...
View ArticleVS 2010 Help With WriteProcessMemory
Hi, I'm trying to write a structure to process's memory. This is essentially what I'm doing, but I get AccessViolationException... Code: WriteProcessMemory(hWnd, (IntPtr)MyPointerToTheStructure,...
View Article[RESOLVED] Listbox has a ListCount of 1 but nothing has been added
How can this be? Code:  '  ' For n = 0 To List1.ListCount -1  '  ' Comes here. When I hover mouse over ListCount it says 1 but nothing has been added to List1  ' Next n  '  ' EDIT: Never mind. I...
View ArticleVS 2008 Non significant zeroes in textbox
Hi, A simple calculation result is returned when I enter valid numbers in a textbox and click the compute button. When the textbox is empty or when the value entered is 0 the process stops thanks to...
View ArticleVS 2010 If textbox value less than
Hi All, If i have textbox1 "Number of people" then textbox2 "Total Price" but the price per person varies on the number of people. eg. If number of people less than 100 the price is 0.10 per person ---...
View ArticleVS 2010 strextract
hi! i am using below code in vfp but what i have to use in vb 2010 for this STREXTRACT(lctrack1, "%", "^") thanks shiv
View ArticleVS 2010 SIr I nedd your help
Sir good morning. i need your help. i wanted to create a program that i am able to receive a message as well as sending messages. please sir i need your help. i am using huawei dongle/ usb dongle or...
View Articlesuggestion needed for client plz james
sorry to bring up the topic again but i wish to clear my mind and find a way to do this if possible.. if the server has maxed out with connections then is there a way to tell server1 to accept...
View ArticleNew to VB6, need help..
Hi all, I'm a beginner to VB6. Right now I'm doing a project to calculate an asset depreciation using Straight-Line and Double Declining method. I managed to get my coding and result right but the...
View Article[PowerShell] Filling in a users Com+ Partition Set programatically?
Hello lads n lasses, I'm messing around with PowerShell to simply create and setup a new User object in AD, however i've run into a snag, i can't set the Com+ Partition Set... This is what i mean: Any...
View Articlemore just a passing observation
This community has been a big help to me and others in solving issues with code that have us stumped at work or at school etcetera. As such we have to present the problem and explain it clearly and...
View ArticlePure VB6 TreeView Control
....or ListView if you set the 'Indentation' Property to zero.... ;-) Why I created this: I am developing a treeview control BUT this isn't it! At this stage, I am just creating the classes that will...
View ArticleVS 2010 Timer is not stopping and Pop-up windows appearing infinitely
I have here my code to send SMS: Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick count = DataTable1DataGridView.Rows.Count For i As Integer =...
View ArticleCreating an Oracle Connection
I am trying to create an oracle connection in vs 2005. The first error I received when setting the connection was: attempt to load oracle client libraries threw badimageformatexception. This problem...
View Articlesave PDF into SQL varbinary column
I use image object to save image (jpg file) into SQL varbinary column as code below. It works fine. Now, I need to insert pdf file but Imaging.ImageFormat do not have pdf option. How to insert pdf...
View ArticleDeleting Button to work for both Parent and Child Table Rows
The Delete on my winform is not working the way I need it to. I have a form with parent table textboxes and child table datagridview. When I press the BindingNavigatorDeleteItem button it will delete...
View ArticleWeb Site with Users (PHP and MSSQL)
Hello. I'm trying to make a Web Site with users and passwords. I got everything necessary to do it (Hosting, MSSQL Server (in the same hosting), the Web Site (HTML)...) I recently successfully...
View ArticleJoystick input?
Could someone help me with some code for joystick input. I want to add it to my project and have is correspond with keyboard input.... say if I push the joystick forward it would do the same as my...
View ArticleVS 2010 [RESOLVED] Determining the invariate date/time for a local pc
Hi all, So, I'm presented with a potential issue where I'm writing to a local database server in the UK but could have someone writing to the database from the US. I'm using a MS Access database which...
View Article