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.
Drew
Posts
-
Connecting to a camera -
create shortcut to desktopI simply copied over (in code) the start menu icon that ClickOnce (thanks Microsoft...) created. Just ask if you want help doing that.
-
Modify AVI fileText? 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...
-
Excel VBA - Directory Controls/Codes, File Names with DatesI 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.
-
Weird error when trying to preview data in a datatableI 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!
-
jet settingsEewwww! Jet.....
-
.NET Framework versionsAs 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.
-
Making sure a file really is thereIn code, tell it to go to %USERPROFILE%\Desktop\. I am trying to put an icon on the desktop without using a special installer.
-
Upgrading VB5 application to VB.Net or C#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?
-
Making sure a file really is thereAutomatically...
-
Upgrading VB5 application to VB.Net or C#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.
-
Making sure a file really is thereIs there a way to navigate to the file you want to copy in code?
-
Making sure a file really is thereIs 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?
-
How do I ping another computer?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?
-
Upgrading VB5 application to VB.Net or C#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.
-
How do I ping another computer?System.Net.NetworkInformation.Ping
orMy.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. -
Changing the location of a form through codeUnfortunately, 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...
-
Changing the location of a form through codeSimilar 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?
-
getting memory info from wmiI 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 ;))
-
disable rowWell, 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.