Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Drew

@Drew
About
Posts
39
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Connecting to a camera
    D Drew

    I'm trying to build this application that looks at a folder and displays new pictures. I got that to work flawlessly, but there is one more part that is having more issues. The camera that I want to watch gets recognized as just that - a camera (or scanner). Thus, I can't tell my app to watch it, creating a useless application. I've poked around a bit, but to no avail. Perhaps somebody can shed some light on this.

    C#

  • create shortcut to desktop
    D Drew

    I simply copied over (in code) the start menu icon that ClickOnce (thanks Microsoft...) created. Just ask if you want help doing that.

    Visual Basic sysadmin question

  • Modify AVI file
    D Drew

    Text? If you're trying to add captions, free programs from download.com will do the same thing without the work. Otherwise, I suggest you start with the XVID source...

    Visual Basic help tutorial question

  • Excel VBA - Directory Controls/Codes, File Names with Dates
    D Drew

    I don't have an answer, but you may get one on a different site. Try Access-Programmers. Of course, they deal with Access issues, but they also write in VBA. Just a thought.

    Visual Basic help tutorial question

  • Weird error when trying to preview data in a datatable
    D Drew

    I get an odd error when trying to connect to a SQL 2005 database. When I try to preview it, it comes up and says, "MaxLength applies to string data type only. You cannot set Column 'Project' property MaxLength to be a non-negative number." I don't even know what MaxLength is... and therefore assume it is nowhere in my code. Is there something I am missing? Perhaps I am posting this in the wrong forum. A timely answer is preferred. Thanks!

    Visual Basic database help question

  • jet settings
    D Drew

    Eewwww! Jet.....

    Visual Basic visual-studio question csharp

  • .NET Framework versions
    D Drew

    As I browse the forums, I keep finding one problem. Someone posted a fix for .NET framework 2.0 or 3.0 and the people asking only have 1.1. I have two questions: 1: Why do people still use old versions of the framework, especially 1.1? 2: What is the difference between the versions. Just for the record, I looked on Google, but I came here looking for an explanation in relatively plain English.

    .NET (Core and Framework) help question csharp dotnet

  • Making sure a file really is there
    D Drew

    In code, tell it to go to %USERPROFILE%\Desktop\. I am trying to put an icon on the desktop without using a special installer.

    Visual Basic csharp dotnet question

  • Upgrading VB5 application to VB.Net or C#
    D Drew

    Dave Kreskowiak wrote:

    Designer generated code isn't necessarily the same.

    Considering my part of the program is < 50 lines long (C#)(about 10 in VB.NET), it shouldn't matter, should it?

    Dave Kreskowiak wrote:

    The only "proof" that would demonstrate this with any accuracy is if the database code was written by hand.

    Of course it is. Is there any other way to do it?

    Visual Basic csharp

  • Making sure a file really is there
    D Drew

    Automatically...

    Visual Basic csharp dotnet question

  • Upgrading VB5 application to VB.Net or C#
    D Drew

    Well, it's not really a benchmark, but it may serve the perposes of making a point. I have a project purchases program. Each time it loads, it goes off and gets > 45,000 records, sorts them, and conveniently displays them in a hierarchy. With C#, it doesn't matter whether you load the tables or not because each takes roughly the same time. With VB.NET, it'll take a few seconds to load the same database. Please note I coded nothing in either as Visual Studio does it all.

    Visual Basic csharp

  • Making sure a file really is there
    D Drew

    Is there a way to navigate to the file you want to copy in code?

    Visual Basic csharp dotnet question

  • Making sure a file really is there
    D Drew

    Is there some part of the .NET framework that allows me to check to make sure a file is there? To be more specific, I need to make sure a shortcut is there. Any ideas?

    Visual Basic csharp dotnet question

  • How do I ping another computer?
    D Drew

    Luc Pattyn wrote:

    `Drew wrote: System.Net.NetworkInformation.Ping well that's 2.0 also

    Is that bad? I'm running 3.5 beta on my Vista machine.

    Luc Pattyn wrote:

    `Drew wrote: My.Computer.Network.Ping() I do almost everything using C#, and it does not have that nice My thingy.

    Hmm, I'm glad I'm stuck with VB.NET. What is the C# equal to My.settings?

    Visual Basic question

  • Upgrading VB5 application to VB.Net or C#
    D Drew

    Depending on what kind of app you are wanting to make, I'd go with options 2 or 3. I usually use VB.NET because it is easy, intuitive, and quick to write. If you are going to make a robust, thorough, or big app, then go with C#. It is MUCH faster, especially with dealing with many numbers. In summary, I personally would choose VB.NET, simply because I don't know how much better C# is. If you're a beginning or advanced programmer looking to build a medium sized or large app, use C#. If it's just a simple app, use VB.NET. It's easy and fast. Besides, usually you don't need the speed.

    Visual Basic csharp

  • How do I ping another computer?
    D Drew

    System.Net.NetworkInformation.Ping or My.Computer.Network.Ping() The second one only returns a boolean value whether or not the ping succeeded. You'll have to tweak it a bit to make it work. I made an app that does the same thing "ping Google.com" does in command prompt. I can get you the basics if you wish.

    Visual Basic question

  • Changing the location of a form through code
    D Drew

    Unfortunately, 95% of the people that will be using this program have 2 or more monitors (yes some have 3 and 4). It may be in my best interests to leave location alone and let Windows handle that. Someday I'll figure it out...

    Visual Basic question

  • Changing the location of a form through code
    D Drew

    Similar to my last thread, I'd like to save the form location as well. In talking to another programmer, he said that it'd probably be a good idea to have some preventative measures (i.e.: making sure the program doesn't appear off-screen). Is there a good or bad way to do this?

    Visual Basic question

  • getting memory info from wmi
    D Drew

    I usually assign a global variable to 1024^2, but I wrote this app before I started doing that (shortly after you posted your previous post ;))

    Visual Basic performance help lounge

  • disable row
    D Drew

    Well, I know you can do that sort of thing in a Janus GridEX by using conditional formatting. Maybe you can tell it to hide rows. I believe there is a trial version on the web somewhere. It is possible you could mean columns, which is easy from a datatable in VB.NET. If you really need to, use some special conditional formatting code and move the rows you do not want to a separate table.

    Visual Basic csharp database question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups