Search:
Type: Posts; User: KGCole
Search:
Search took 0.02 seconds.
-
November 15th, 2018, 12:28 AM
I don't know much about database, Makis, but I believe you can set your unique field to automatic so a unique ID will be inserted with each record. After that's done then perhaps you can alter your...
-
November 7th, 2018, 11:14 PM
If I put a breakpoint on the using declaration and let it run to that point, then run the code through after the break, I don't get the error. Don't know quite what to make of that. If I don't have a...
-
November 7th, 2018, 08:34 PM
I'm not sure I constructed this using statement correctly. My code still gets interrupted with the locked process error. Could you tell me what is wrong with this snippet?
Private...
-
November 6th, 2018, 12:05 AM
Sorry, had to be away from things for a while. On this subject, I put a method together to test whether the changed file is released, but I haven't been able to get the exception for the error...
-
October 29th, 2018, 10:04 PM
I have doubts about that after what you said about partial file info. I don't want to jeopardize file integrity by using a means like VSS if it leads to inferior process. Quality is preferable to...
-
October 29th, 2018, 03:06 PM
I think my objective is to create a backup utility that syncs between two folders on a pc in a timely manner. I suppose I'm comparing what I can create with other applications, but I'm learning what...
-
October 28th, 2018, 05:13 PM
It's conjecture that the file is copied, but the open, locked file is synced to another location immediately after a change is saved. Whether it was by VSS or not, I can't say. I don't have access to...
-
October 28th, 2018, 03:34 PM
It copied the open file to the target location while it was open and immediately after it's last saved change. I've done some reading on this over the net and I think how this is being accomplished...
-
October 28th, 2018, 10:32 AM
I dunno, Arjay...I know what you mean about a file being locked. I've run into that scenario on a general basis with open files. But I downloaded a popular syncing program on a trial basis to see...
-
October 27th, 2018, 11:00 PM
I integrated your idea into my code, Arjay...I'm having a problem with file access, though. I've got a file open in a graphics editor, and when I save the file the right notifications come up, but I...
-
October 24th, 2018, 08:45 AM
Thanks Arjay, I'll look this over and see how I can implement the idea to solve my notification issues. I'll probably have questions later on.
-
October 23rd, 2018, 09:44 AM
Your MsgBox() line is C# Valeriegn, as well as your use of the semi-colons in your Dim statements. Your xlWorkSheet.Cells(2, 2) may need to be xlWorkSheet.Cells(2, 2).value. I'm not familiar with how...
-
October 22nd, 2018, 08:54 PM
I read through the fsw material again, but that's pretty much what I have coded. I'm still wondering how to take into account that multiple events are delivered when one file is changed; for...
-
October 21st, 2018, 06:50 PM
I'm not sure what you mean by subscribe to the last change event, Arjay.
-
October 21st, 2018, 05:09 PM
I have a line of code in an onChanged event for a FileSystemWatcher, and have not gotten the result that I want. Here's the code:
str = "SELECT Base, Target FROM Backup WHERE...
-
October 21st, 2018, 04:57 PM
I don't know any C#, Valeriegn, but don't you have to instantiate your "xlWorkBook" and "xlWorksheet" as "New xlWorkBook", etc. first? Have you tried to assign a value to strTest and then do...
-
October 16th, 2018, 11:22 AM
The code I've used from the article specifies any directory under the C:\ drive. I suspect in the future as I work with this I'll draw in all drives, which from what you say means a user will have to...
-
October 15th, 2018, 09:34 PM
The solution to this turns out to be what you suggested Arjay. I read an article that suggested checking out the application properties and found the program manifest. It had comments on it that...
-
October 15th, 2018, 12:11 AM
I just finished reading an article on the site here, and put together an app that is a File Explorer type application. I've got the application to compile and run, but I'm having a problem with...
-
October 13th, 2018, 11:00 PM
Found out the answer to that question as well:
LstVwPlanBackup.Items(LstVwPlanBackup.FocusedItem.Index).SubItems(1).Text.ToString()
The "Text" property or member is the difference. It returns...
-
October 13th, 2018, 10:23 PM
Well, for those that may be looking at this thread I have found the answer to my question:
LstVwPlanBackup.FocusedItem.Index
That refers the index of the selected item in the ListView.
It...
-
October 12th, 2018, 10:52 PM
Hi, I just put a ListView control on a Windows Form, and have set it to have two columns. I'm trying to build a method that uses the selected item of the ListView to find info in the database. The...
-
October 5th, 2018, 10:15 PM
Thanks y'all, that was exactly the problem. It never ceases to amaze me how basic things like that make the difference. Hey Arjay, I don't know if that code I posted was good for you to review on our...
-
October 4th, 2018, 10:37 PM
Hi, I've got a method where I'm trying to add an object to a list, and Visual Studio debug gives me an error that what I'm trying to add is "not set to an instance of an object". I set my list to be...
-
October 2nd, 2018, 11:19 PM
Here's the basic method I use to read my database into the listbox. Nothing fancy, just using OleDbDataReader to feed items into the list:
Public Sub GetPlans()
Dim myConn As New...
|
Click Here to Expand Forum to Full Width
|