dcsimg

Search:

Type: Posts; User: walt4

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: After install, app requires higher version of .net Framework

    Thanks jmcilhinney and Swop_K.

    As it turns out, the error was due to my own carelessness. When creating the installer, I inadvertently referred to the original version of my screenshot program...
  2. Re: After install, app requires higher version of .net Framework

    Thanks jmcilhinney and Swop_K.

    As it turns out, the error was due to my own carelessness. When creating the installer, I inadvertently referred to the original version of my screenshot program...
  3. After install, app requires higher version of .net Framework

    I'm encountering a very strange problem.

    Using Visual Basic 2010 Express, I have written a very simple screenshot program. The target framework of the project is .net 3.5. I am targeting 3.5...
  4. Re: Need to read FullName of open workbook in Excel using VB.net

    OK, so the language difference between the OS and Excel was the problem. Adding these lines...


    Dim newCulture As System.Globalization.CultureInfo
    Dim OldCulture As...
  5. Re: Need to read FullName of open workbook in Excel using VB.net

    TnTinMN, thanks so much for the link. Yes, the language issue must be playing a role in this. My Windows7 installation is German, but I have an English Excel 2007. I am looking at...
  6. Re: Need to read FullName of open workbook in Excel using VB.net

    Again, triggers the same error -- Old format or invalid Typelibrary (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD)

    The file that is open in Excel is an .xls file -- Is an .xls file...
  7. Re: Need to read FullName of open workbook in Excel using VB.net

    TnTinMN, thanks for the demo project.

    I openend and ran the project. Line 19 on Form1

    Debug.Print(wb.FullName)

    is generating the same error as experienced before -- Old format or invalid...
  8. Re: Need to read FullName of open workbook in Excel using VB.net

    OK, thanks.

    I just tried MsgBox(xlWB.Path + xlWB.Name), but that too is generating the Old format or Typelibrary error.

    I must be overlooking something, because in the list of members for a...
  9. Re: Need to read FullName of open workbook in Excel using VB.net

    vbfbryce, the code you suggested is unfortunately returning the same error: Old format or invalid Typelibrary (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))

    The strange thing is, when...
  10. Re: Need to read FullName of open workbook in Excel using VB.net

    The file name and path of the file opened in Excel.
  11. Need to read FullName of open workbook in Excel using VB.net

    I'm putting together a simple VB.net app in which I need to retrieve the full name of the active workbook currently opened in an Excel window.

    The code at the end of the is post (which originates...
  12. Re: DataTables tutorial recommendation & question on copying rows from one DT to anot

    Jmcilhinney, thanks for your response.

    One thing that has been causing me confusion is the use of a DataTable vs DataSet. In the following code, I am I dealing with the DataSet called...
  13. DataTables tutorial recommendation & question on copying rows from one DT to another

    I'm having a really difficult time understanding datatables. I stumbled upon a great introduction to the subject at http://www.homeandlearn.co.uk/NET/nets12p4.html but as far as being able to do...
  14. Re: Difficulty comparing XLS files that contain strings

    Shaggy Hiker, thanks for your detailed response regarding IS ... you learn something new everyday in this field.

    As a test, I put together a couple of XLS files manually and didn't get the error I...
  15. Re: DataGridView Question - Need to duplicate entire row not just first cell

    wes4dbt, thanks for the quick reply! That certainly clarified matters :)

    Replacing the original code:
    DataGridView3.Rows.Add(dgv1Row.Cells(0).Value)

    with this:...
  16. [RESOLVED] Difficulty comparing XLS files that contain strings

    I'm trying to compare two XLS files using two DataGridViews.

    The following code loads an XLS file into DataGridView1 and another XLS file into DataGridView2. The files are then compared and any...
  17. [RESOLVED] DataGridView Question - Need to duplicate entire row not just first cell

    I have three DataGridViews on a form. An XLS file is loaded into DataGridView1 and DataGridView2 using the following code:


    Private Sub ButtonGetData_Click(ByVal sender As System.Object,...
  18. Replies
    2
    Views
    714

    Re: Comparing csv or xls files using VB 2010

    A belated Thanks to jmcilhinney for the input!
  19. Replies
    2
    Views
    714

    Comparing csv or xls files using VB 2010

    I'm trying to compare two groups of data using VB2010 and need some advice before getting too involved with what could be a poorly conceived approach.

    As an example, let's say that I want to...
  20. Re: VB serial comms code isn't working in SharpDevelop

    After hours of looking, I just stumbled upon the solution. This topic on the Arduino forum describes the same problem I've been having.

    Apparently, VB serial comms properties DtrEnable and...
  21. Re: VB serial comms code isn't working in SharpDevelop

    The Arduino Serial Monitor is a serial monitoring/input window which is part of the software used to upload code to Arduino.

    Only one program can have access to the serial port at once; so when...
  22. Re: VB serial comms code isn't working in SharpDevelop

    A good idea; unfortunately, still no print from the Arduino.

    As far as the ASCII issues go, the code "IncomingSerialInfo = Serial.read() - '0';" converts it to the ASCII key value, so Arduino...
  23. Re: VB serial comms code isn't working in SharpDevelop

    Shaggy Hiker--great idea on the breakpoint! I just tried a breakpoint in the datareceived event as you suggested, but it didn't get triggered...so as you suspected the data is either not being sent...
  24. Re: VB serial comms code isn't working in SharpDevelop

    The difference in code is not important. I have tried it both ways. In either case, I get the LED to blink so I am certain that the Arduino is getting the information sent over serial.

    In the...
  25. [RESOLVED] VB serial comms code isn't working in SharpDevelop

    I'm trying to communicate with an Arduino Leonardo via serial, but have only been half-way successful. Using the following VB code (which was written in SharpDevelop), I can send information via...
  26. Replies
    2
    Views
    975

    Re: How to read Hardware ID of hard drive??

    After hours of looking, I found a great page with some useful info.
  27. Replies
    2
    Views
    975

    How to read Hardware ID of hard drive??

    I have this very simple code that will read the serial number of all connected physical hard drives:


    Dim HardDriveList = New ManagementObjectSearcher("SELECT * FROM Win32_PhysicalMedia")...
  28. Replies
    14
    Views
    2,453

    Re: BackgroundWorker code won't copy files -- why?

    Kevin, that looks like an interesting approach... yes, I'm having to work with some machines that are only on .net 3.5.
  29. Replies
    14
    Views
    2,453

    Re: BackgroundWorker code won't copy files -- why?

    Ident, yes, I did mean the forms designer...

    In SharpDevelop if you drag a BackgroundWorker onto a form (while in design view) there seems to be no way to edit the properties to add a...
  30. Replies
    14
    Views
    2,453

    Re: BackgroundWorker code won't copy files -- why?

    I managed to find the answer to the handles problem on the SharpDevelop Forum (Here), and thought I'd post it here for the benefit of others who might be having a similar problem.

    In the Designer...
  31. Replies
    14
    Views
    2,453

    Re: BackgroundWorker code won't copy files -- why?

    Techgnome, the lack of handles was the issue. The code I posted was created in SharpDevelop, and apparently it manages the handles differently.

    I created the following code using VB2008, which...
  32. Replies
    14
    Views
    2,453

    BackgroundWorker code won't copy files -- why?

    I was exploring how to use the BackgroundWorker with a very simple app to copy files from one folder to another. The code appears below.

    When I click the Copy Folders button...
  33. Re: Code to return drive free space triggers malware warning -Is there a better appro

    Here is a program (written in C#) to burn CD/DVDs. Unfortunately it is way beyond my skill level. Could someone take a look at it and see if there is anything useful that might lead to a solution....
  34. Re: Code to return drive free space triggers malware warning -Is there a better appro

    I've just spent the last 2 hours looking over various code snippets and have also come to the conclusion (as DigitalShaman did) that it is indeed difficult to accurately find the free space on an...
  35. Re: Code to return drive free space triggers malware warning -Is there a better appro

    TnTinMN, your code certainly looked promising in terms of resolving the malware issue, but Kaspersky blocked it on the first run! As with previous tries, I have run the code in a new project with...
  36. Re: Code to return drive free space triggers malware warning -Is there a better appro

    I pasted the code at the beginning of this thread into a separate project to see if it would meet my needs. The project contained only that code and nothing else and was triggering a malware...
  37. Re: Code to return drive free space triggers malware warning -Is there a better appro

    The other code parts really don't affect this. The code above from Paul seems to have some limitation when reading the free space on an unfinalized CD...the question is, what is causing it to be...
  38. Re: Code to return drive free space triggers malware warning -Is there a better appro

    Using the command line prompt version of CD Burner XP, it is possible to burn a non blank CD using the track-at-once setting. It creates a multisession disk (see here). Basically, I'm just passing...
  39. Re: Code to return drive free space triggers malware warning -Is there a better appro

    Ident, I'm trying to automate a CD burning process for an audio project, and need to be able to see how full the CD is... which brings me to this question: When I run Paul's code to check a CD, the...
  40. Re: Code to return drive free space triggers malware warning -Is there a better appro

    Paul, thanks for the quick response. Your code is certainly more streamlined, and unlike the code I posted, it doesn't trigger a malware warning! Thanks again.

    Ident, the link made for some...
Results 1 to 40 of 47
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width