-
Began Watching Load Image From File and Release File
I have just seen a resurrected thread about issues with loading images to a PictureBox and the inability to delete the file while the program is running. There was no … -
Replied To a Post in Load Image From File and Release File
Hi Jo 2, I've just spotted this, and thought I'd point out a much simpler way of doing this 'Load your image file, essentially locking access to it Dim BMP … -
Replied To a Post in Playing With Pixels
Thanks for that little insite kplcjl... I shall bear that in mind for next time.... Did you like what I did there... bear... grrrrrrrr lol Surrounded by people who are … -
Replied To a Post in Playing With Pixels
Oops -
Replied To a Post in Array Copy Every Nth Element
I thought about LINQ, but if I needed to use a loop to copy the results of everyNth I may aswell just copy the values between the arrays in the … -
Created Array Copy Every Nth Element
I was wondering if there was an existing method within the .Net frame work which will copy every nth element of an array to a differant array with an initial … -
Began Watching Array Copy Every Nth Element
I was wondering if there was an existing method within the .Net frame work which will copy every nth element of an array to a differant array with an initial … -
Replied To a Post in Would Love To See Old DaniWeb
I'm just a kind of in awe. Just popping onto a site like DaniWeb, you seem to forget that there might have actually been some hard work involved, tears, frustration … -
Replied To a Post in Would Love To See Old DaniWeb
Awwww looookkkk how cute it was... OMG what an incredible journey   -
Began Watching What's Next?
Seems like a new Game day! How About What's Next? HAVENT SEEN THIS GAME YET, CORRECT ME IF IM WRONG. You start off with a small phrase and the next … -
Replied To a Post in What's Next?
Planet of The Apes -
Created Would Love To See Old DaniWeb
Hey, I was just wondering, If you have any old screen dumps of DaniWeb roughly around the time when it kicked off. I'd love to see what now and then … -
Began Watching Would Love To See Old DaniWeb
Hey, I was just wondering, If you have any old screen dumps of DaniWeb roughly around the time when it kicked off. I'd love to see what now and then … -
Marked Solved Status for Where'd the pending article go?
First of all I'd like to say great work on the addition of drafting articles before commiting to editorial however one question. The last two samples I published (Removed tick … -
Replied To a Post in Where'd the pending article go?
Their the badgers... thanks guys. -
Replied To a Post in Where'd the pending article go?
Is there any way I can delete these Drafts myself, or is this a request to the MODs? -
Replied To a Post in Where'd the pending article go?
Oh my god... I must be smoking crack... Somehow I always thought this was the bottom of the page  But look, there's even more BWahahahaha...  I … -
Replied To a Post in Where'd the pending article go?
Hi Dani, thanks, I managed to get help understanding that. What I am really trying to find is the following. Once I've clicked on "publish" i Get this screen with … -
Gave Reputation to tinstaafl in High school game
A few things: - Instead of doing this - `int i=0,j=0;`, `int result,answer,x,y;`. It's much more intuitive to use descriptive names. It also helps readability to declare variables on separate … -
Created Where'd the pending article go?
First of all I'd like to say great work on the addition of drafting articles before commiting to editorial however one question. The last two samples I published (Removed tick … -
Began Watching Where'd the pending article go?
First of all I'd like to say great work on the addition of drafting articles before commiting to editorial however one question. The last two samples I published (Removed tick … -
Replied To a Post in Encryption
Assuming you are passing the same instance of stream to each of your Addxxx methods then yes it should work. However I think you need to do this `using (CryptoStream … -
Replied To a Post in [HELP]Calculations in VB.net[retail and wholesale(stocks)]
Also, GoTo exits the loop meaning the conditions within that particular loop will only ever be true once. I can see that this is in another loop but it's not … -
Replied To a Post in Need help getting mouse to move to coordinates
doh... [Whispers] I hope he's making a demo which physically moves the mouse pointer then clicks the button, which doesn't render my answering only the first half of the question … -
Began Watching Encryption
public void Start() { List<Object> list = new List<Object>(); List<Object> toRemove = new List<Object>(); if (File.Exists("c.bin")) { using (Stream osR = File.OpenRead("c.bin")) { DESCryptoServiceProvider cryptic = new DESCryptoServiceProvider(); cryptic.Key = … -
Replied To a Post in Encryption
The File.OpenRead, is as you have pointed out locking the file access mode to read only, you should probaly just use Open, which is read\write. When writing your stream, the … -
Began Watching [HELP]Calculations in VB.net[retail and wholesale(stocks)]
Really need help please this is my code: Sub updteWS() Dim sql = "select Count(*) from ItemProduct where Code= ?" Dim cmd = New OleDbCommand(sql, conn) cmd.Parameters.AddWithValue("@Code", LVCart.Items(0).SubItems(0).Text) Dim result … -
Replied To a Post in [HELP]Calculations in VB.net[retail and wholesale(stocks)]
Wow, I didn't know GoTo was still valid, please stop that. Well first of all, the flow of this entire operation is a little shaky, however looking at this: If … -
Began Watching Need help getting mouse to move to coordinates
I've got my code all ready to go, except what i want to do is have the 'btnSTART' button move the mouse to the selected coordinates, and Left Click down … -
Replied To a Post in Need help getting mouse to move to coordinates
When you found GetCursorPos in ther User32.dll, did a little bell not tinkle to the sound of maybe SetCursorPos? =0) I'm a cheeky chap Public Declare Auto Function SetCursorPos Lib … -
Began Watching Display Excel data in a DataGridView
This code snippet demonstrates how to use ADO.NET to read the contents of a Microsoft Excel Worksheet. This snippet also demonstrates the use of the [GetSchema](https://msdn.microsoft.com/en-us/library/ms135981%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396) method to determine what … -
Replied To a Post in Display Excel data in a DataGridView
https://www.daniweb.com/software-development/vbnet/threads/480190/importing-excel-file-to-report-viewer-in-vb-net Here's a vb.net version... you need everything upto fill(dt) -
Began Watching don't know Connection string parameter in C#
Hi, i am developing an application in C#,i have create database1.mdf by right clicking on my project,add item then creating a database. my intial problem was,i was able to execute … -
Replied To a Post in don't know Connection string parameter in C#
Have you figured this out yet? You seem to have quite a few things to research but if you still need some help just say. -
Replied To a Post in Insert date from datagridview using mysql
`dataGridView1.Rows[i].Cells[0].Value` Should be `Convert.ToDateTime(dataGridView1.Rows[i].Cells[0].Value).ToString("yyyy-MM-dd HH:mm:ss.fff")` -
Began Watching Insert date from datagridview using mysql
I import excel file and show on datagridview I want insert all row datagridview to mysql. But i receive error: Incorrect date value:'11/14/1991 12:00:00 AM' for column 'Ngaysinh at row … -
Replied To a Post in Insert date from datagridview using mysql
Darn it VB.... -
Replied To a Post in datetimepicker
Oh shucks... I just saw MySQL... Sorry. Ok, so you can ignore the data acquisition part, however the binding between your DGV and DTP will still be the same. -
Began Watching datetimepicker
i connect mysql using c# and show database in datagridview I want when i click the row in datagridview, textbox, combobox , datetimepicker will show form datagirdview But mysql datetime … -
Replied To a Post in datetimepicker
Ok, Let's assume the following table:  And the following code in your Form1 class: SqlConnection sqlCon; SqlCommand sqlCmd; String conString = "Server=SOLVOTERRA-HP;Database=Birthdays; Integrated Security=true"; DataTable dTable; //DGV Cell … -
Created Playing With Pixels
Oh No, not another LockBits demo. Well hopefully this demo may also give you a little in site into actually playing with, and calculating some simple effects as well as … -
Began Watching Playing With Pixels
Oh No, not another LockBits demo. Well hopefully this demo may also give you a little in site into actually playing with, and calculating some simple effects as well as … -
Edited Horse Race Winning Odds Simulator
=======Download The Full Solution Below======== This will be my last VB.Net soure as I've made the move to C#. For a recent job application I was given the technical test … -
Edited Horse Race Winning Odds Simulator
=======Download The Full Solution Below======== This will be my last VB.Net soure as I've made the move to C#. For a recent job application I was given the technical test … -
Edited Horse Race Winning Odds Simulator
=======Download The Full Solution Below======== This will be my last VB.Net soure as I've made the move to C#. For a recent job application I was given the technical test … -
Edited Horse Race Winning Odds Simulator
=======Download The Full Solution Below======== This will be my last VB.Net soure as I've made the move to C#. For a recent job application I was given the technical test … -
Created Horse Race Winning Odds Simulator
=======Download The Full Solution Below======== This will be my last VB.Net soure as I've made the move to C#. For a recent job application I was given the technical test … -
Began Watching Horse Race Winning Odds Simulator
=======Download The Full Solution Below======== This will be my last VB.Net soure as I've made the move to C#. For a recent job application I was given the technical test … -
Began Watching Grouping and sorting data
I have this gigantic query that returns certain data from my MSSQL Database (working perfectly- Courtesy of djjeavons). I want to sort and arrange this data in order. I want … -
Replied To a Post in Grouping and sorting data
Without going too far in to this have you tried serializing your data response into an object structure, or using LINQ? If serializing or LINQ doesn't make any sense then …
The End.