|
Thanks for these suggestions. I'll be loking into the packages as these will give me choice and consistency. I appreciate there are lots of free sites where you can search for Icons.
My preference is to pay for a package that has a good library of styles and themes.
Any more suggestions for "Pay for Packages" with good choice would be useful. ![Big Grin | :-D](https://codeproject.freetls.fastly.net/script/Forums/Images/smiley_biggrin.gif)
|
|
|
|
|
My VB code has been successfully reading and writing to MS Access for a long time on 32-bit machines. In the code, the instructions for the connection string include
"Provider=Microsoft.Jet.OLEDB.4.0".
When I try the same code on 64-bit machines (Vista - Service Pack 2), it does not work and my error message says that Microsoft.Jet.OLEDB.4.0 is not registered on the machine. However, MS Access 2007 does work by itself. Any suggestions?
Rich Feldman
|
|
|
|
|
There are no 64 bit Microsoft.Jet.OLEDB drivers.
You can however force your application to use the 32 bit drivers by changing the target cpu to x86 in the advanced compiler options on the project properties page.
If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
www.JacksonSoft.co.uk
|
|
|
|
|
Unfortunately Jet Driver is not natively supported on 64 bit so the application has to run as 32 bit. Or should I rephrase there are no 64 bit Jet Drivers available.
|
|
|
|
|
Hi,all,i have projects written in vb6.0 to make it support unicode, but the richtext box have some problems in right to left layout and right to left reading order. I have tested some controls,but there is problem,like when input text mixed with ansi character,it will be in the wrong order. is there any other controls that can support unicode very well?any help will be appreciated,thanks!
|
|
|
|
|
AFAIK, no control supports Unicode rendering properly. It may be able to display Unicode characters, but not the complex symbols that are made by combining several other characters. In windows, you need to work with Uniscribe[^] to get a clear rendering. I am not sure how to call the methods in uniscribe from VB6.0.
|
|
|
|
|
Navaneeth,thank you very much!i am working with Uniscribe,thank you!
|
|
|
|
|
Does anyone know the syntax to use timers in vb 2008? every 5 seconds i need to call a routine. If anyone can help it is greatly appreciated.
Thanks
|
|
|
|
|
So open the ToolBox and drop a Timer on your form. Or were you thinking more along the lines of using one of the Timers in System.Threading or System.Timers?
|
|
|
|
|
Ha ha, I'm sorry I really was not specific in my question. That's my fault. In visual basic 6.0 I had a timer routine that worked fine, i would set mytimer.enabled = true and would have the interval = 5000 so it would run every 5 seconds. The routine that would run every time the timer would reach 5 seconds would call an output. The sub i wrote for that was simply:
Private sub myTimer_Timer()
call output()
end sub
This routine would run every five seconds using the timer. Now i am trying to do the same thing in visual basic 2008 and it uses something different than the Sub myTimer_Timer(). I think it uses the tick event. Well here is what i have so far and it doesnt seem to work for me.
Private Sub Form_load(ByVal sender As System.Object, ByVal e As System.EventArgs)_
Handles MyBase.Load
OutputTimer.Enabled = True
OutputTimer.Interval = 5000
End Sub
Private Sub OutputTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)_
Handles OutputTimer.Tick
Call Output()
End Sub
Thanks
|
|
|
|
|
You also need to call the Start method on the timer or it will not start ticking.
OutputTimer.Start() in your case. Add this after you have set the interval.
If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
www.JacksonSoft.co.uk
|
|
|
|
|
Ok thanks alot. I found another problem with my code where I completely skipped over my statements that enabled the timer. It works now haha. Thanks for the help and time, i really appreciate it.
|
|
|
|
|
how to use char.isdigit and char.iscontrol
to check whether entered value is number or not .
if textbox1 is blank then cursor should not go ahead means space bar in textbox1 will not allow the cursor to go ahead.
on which event char.isdigit and char.iscontrol works in vb.net.
i want to enter only numeric values in textbox1.
|
|
|
|
|
You can use it this way in KeyDown event:
If Not (Char.IsDigit(ChrW(e.KeyData))) And Not (Char.IsControl(ChrW(e.KeyData))) Then
e.SuppressKeyPress = True
'
'Show your message
'
End If
I don't use VB hence there might be a better way to write this.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
on KeyPress just use this code simple it will not let you enter any chars except numeric values
If (Char.IsLetter(e.KeyChar) Or Char.IsControl(e.KeyChar)) Then e.Handled = True
Best Of Regards,
SOFTDEV
Sad like books with torn pages, sad like unfinished stories ...
|
|
|
|
|
Hi Experts,
I am writing a code on key down event of gridview. when all the coloumn of gridview is filled and when i press F1 key code doesn't work but when i go to next row or previous cell and press F1 then the code work properly. But I want same operation without changing the cell or coloumn.
Please help me .
Thanking you,
Ajit
|
|
|
|
|
While Data Save, before updating to your DataAdapter, you have to send a command like a below..Select it's
FirstDisplayedcell and then update, your problem will solve.
MyDataGrid2.CurrentCell = MyDataGrid2.FirstDisplayedCell
MyDataGrid2.EndEdit()
DAD31.Update(DS31.Tables(0))
|
|
|
|
|
pls reffer ProcessDialogKey function
|
|
|
|
|
i m entering number in textbox1 only.
for that i m using
event
protected sub textbox1_keydown()
if e.keycode < 48 or e.keycode > 57 then
msgbox("only number allowed")
textbox1.clear()
end if
end sub
my problem is that still 1 character is entered using this code.
and i dont want any character to be entered in textbox but only the number is allowed to entered .and the cursor should not go ahead when blank textbox.plz solve my problem.
|
|
|
|
|
This code is crap, where did you find it ? Use Char.IsDigit and Char.IsControl ( the second, so that you accept keys like the arrows and delete ). Why would you clear the texbox, instead of just rejecting the key ? The keypress event has a Handled property you can set to true to reject the keypress.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
|
This is a common problem. Break it down. First you need to know how many significant figures there are, then you read each and insert the right text. In fact, this is homework so often that there's plenty of solutions online.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
sorry my English is poor so maybe i don't understand what u said.
but i need suitable code or solution for it.
thanks for your reply and help to me.
|
|
|
|
|
Hello everybody,
I guess I could really use some strategic advice for this programming challenge: Despite having to handle several image frames with up to 12 MB each, I'm heading for optimum performance! Here are some basic questions that seem to be important in order to find the track, and I'd be happy to have some experienced comments on my ideas as well as possible alternatives... and of course additional "guru" hints and ideas
One of the operations to programmatically do on a series of picture frames is a comparison of each pixel's value through the timeline of n loaded frames (where n should be "as many as possible"). Btw the picture files carry the pixel information in a UInt32 value with 10 bits each for RGB!
- I plan to read each pictures raw data into a 2-dimensional array of UInt32 first, and place the different pictures data into the third dimension of the same array. Is that construct a) useful for later picture transformation purposes, b) fast and c) safe enougth from the garbage collector to prevent me from memory allocation issues?
- Regarding upcoming memory issues (array size): How would I realize something like FIFO - i.e. that in a set of n frames the first frame is disposed when the n+1st frame is loaded?
- I read a bit about "cached bitmaps" which are said to boost performance, but all the information I could find was in C++ ... Is it possible to use cached bitmaps in VB, too? If yes then how would that be possible??? --> Although I guess I can't use them here (the source pic would most likely have to be converted to 8-bit and lose color detail information this way), some more information about this magic kind of bitmaps would be interesting anyway!
- Since a conversion to GDI+ standard bitmap might be too time consuming, I think I should only convert and display the data as bitmap (as far as I know I'll have to bit-shift, allocate memory etc. then) when it's really needed to see a result. Or is it the same, performance-wise?
- Would it make sense to think about threading in the context? Like letting one thread read the files and construct the array while another thread converts and displays the first picture?
It's a lot of questions, and I really hope for some hints from you to gain some security about "the right way" (programming-wise )
Thanks in advance
Mick
|
|
|
|