|
sal21 wrote:
I hope and think is the best way to import this BIG file...
When you say "import", what *exactly* are you implying. Are we talking just getting the data from the file into your app to use variables/collections of some kind. Then I would agree with the above, that using a streamreader and reading line by line would be the best bet.
OR, if your goal is to get this data into a DB like SQL? If this is the case, I would scrap what you're doing an look into DTS/SSIS since both give you programmatic control of the data coming in and format/manipulate as needed. Speed wise, there's not even a comparison.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
GetPointOfView is an integer but reports in degrees.
example
up returns 0
right returns 9000
down returns 18000
left returns 27000
sound simple enough, but as we know it will not give value over 32767. In this case it is max out at 31500. so i am losing degrees 31501 to 3599.
I do not seem to be able to change the GetPointOfView to anything other then an integer. Anyone noticed this before?
|
|
|
|
|
That's odd. I've never really worked with DirectX and MSDN didn't seem to say much about that Wondered if degrees 31501-35999 would be represented as negative integers but MSDN says -1 represents being centered...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Paul
Question?
if the value went negitive would i not get 7FFF?
I am just learning this VB express. I really did not like it at first but it is groing on me. Maybe you can teach old dogs new tricks.
|
|
|
|
|
Derek Pescod wrote: if the value went negitive would i not get 7FFF?
Only if you converted it to hexadecimal.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
|
I answered my question.
I did not notice but it is reporting back in 45 degrees. I was only interested in 270 to 360 degrees.
Thanks to all how helped.
|
|
|
|
|
Hi
I have developed a toolbar which needs to invoke a javascript function based on some criteria on specific web page.
To be simple, I want to know how to invoke javascript from BHO(using VB.NET).
I have done everything already but just this one needs help.
Thanks in anticipation
Mujtaba Panjwani
MAP Tiger
Tiger Softwares
Software Designer and Developer
VB.NET, ASP.NET, VFP
|
|
|
|
|
I have created vb application using crystal report 9 when i build the exe. it run well my machine but not running another machine without crytal report9.
When click report button through this error
"Runitime error '429'; ActiveX componenet can't create object"
kindly provide solution
also tell me required DLL and OCX
Thanks and Regards
D.Manivelan
|
|
|
|
|
Does Crystal not come with any sort of help files ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
You have to either install CR9 on the machine, or build your app's installer to include the CR9 runtime. This is all documented in the CR9 documentation.
|
|
|
|
|
|
Hi all...
I am creating a simple,small image editor program.
I have almost completed my program but except one thing.
I have associated .jpg files to my program (using registry editor).
Now, the main thing is that when I double click on any .jpg file, my program gets open but that image is not open in my program's picture box.
I want to do that when i double click on any .jpg file, that .jpg file would automatically open in my program (appear on my application's picturebox) for editing rather then loading .jpg file through my application manually.
Thanks.
Gagan
|
|
|
|
|
When you double click on the file, Explorer launches the associated application with a command line like this:
MyApp.exe "C:\FullFile\path.jpg"
Your application has to process the command line arguments to get the filename to open. It doesn't happen automagically.
A quick Google will give you a ton of examples -> "VB.NET command line arguments"[^]
|
|
|
|
|
Thanks Dave for your idea.
I have done what I wanted.
Gagan
|
|
|
|
|
Please be applied to code, i am not very English, so please affixed code complete some
Teacher, thank you
|
|
|
|
|
Try searching the articles on the site.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Go away
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Means Web camera try this.
Webcam componet name:vc1
Picturebox name is: pic1
VC1.EditCopy()
Pic1.Image = Clipboard.GetImage
|
|
|
|
|
This is a pretty petty item, but I'm bored so here it is:
I created a snippet. Everything with the snippet literals/objects work fine. When I insert the snippet, a blank line is inserted and then the snippet text. Is there a way to get rid of the blank line that gets inserted everytime?
It's Friday!
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
REmove the carriage return at the head of the snippet
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: REmove the carriage return at the head of the snippet
Sorry for the long delay...
There isn't a header carriage return that I can see in the snippet (looking at the raw file). Posted the snippet code here (xml nodes were getting stripped during preview on the boards here).
Not sure what the heck I am doing wrong to get the blank line inserted before the snippet is pasted in.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
modified on Monday, November 24, 2008 8:26 AM
|
|
|
|
|
Found the problem..... the blank line is inserted based on how the snippet is invoked.
For example, if you use CTRL+K, CTRL+X to find and run the snippet - this gives you the expected behavior.
If you use the shortcut name and press tab, the snippet is executed but inserts a blank line at the beg.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
Hello,
I am creating a program in VB.Net that reads data from a specific file type (one that I didn't create). Part of my program reads the file to determine some of the data in it, references an embedded resource image (choosing which image based on said data), and displays that image in a picturebox.
I would like for these files to display a thumbnail of that same image in Explorer. I'd be all right with an explorer-like interface in my program that does this, but I'd much prefer if it could be applied to Explorer, so I can see these thumbnails even without the program running.
I've looked for information on how to do this everywhere, and I can't find any.
In a similar vein, I would like to associate these files with my program, so that when I double click them, my program launches and knows what to do with that file (basically it would run the functions it runs now, only without the need for an openfiledialog).
Any help (or points in the right direction at least) would be really appreciated. Thanks everyone!
As I sit here, I contemplate the last words of Socrates: "I drank what?".
Pokémon Pearl Friend Code: 4554-2418-6836
|
|
|
|
|
Associating the file extension is easy. You just have to go into Explorer >> Tools >> Options >> File Types tab >> New button. THen type in your file extension and click OK. When you get back to the list, click on your file extension, then click on Change. Click on the Browse button and file your application. That's a start anyway. You might have to tweak the final result for your requirements.
Writing a Shell Extension, on the other hand, isn't so easy. It is highly recommended that you do NOT do this in any managed language (C#, VB.NET, ...) but instead, write it in plain Visual C++. But, you can read up a bit on it at http://msdn.microsoft.com/en-us/magazine/cc188741.aspx[^]
If you're not familiar with Shell internals, I suggest postponing this project until you do a ton of research on the topic. You can start here[^]. This was the first in a series of three articles on the subject.
|
|
|
|