|
i want to create a onscreen keyboard that will depict all the functionalites ofthe actual working keyboard.I tried to perform the task by creating the control array of buttons.but however the keys are notworking for caps lock,shift,etc.I have to also change the language to some other instead of english if the related button is clicked.I want the entire source code for the on screen key board operation.Please help me its urgent for me as I have to return the project within five days.
rajan manoj
maxim software solutions
Kerala
|
|
|
|
|
You would be reinventing the wheel - there is an on-screen keyboard utility that comes with windows .. look in Accessories -> Accessibility.
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd
|
|
|
|
|
Hi,
I recently started using winsock in VB6 and found it to be a nifty 'little' control.
Now I'm trying to do the same in VB .Net and found it to be a problem.
I'm not very experienced in .Net.
I'm trying to read the state of my winsock control.
In VB 6 I simply used:
if myWinsock.state <> sckConnected then
myWinsock.connect
end if
This same code in .Net tells me I cant use .state in an expression because it's a TYPE.
So I had a look in the library and found that there are two winsock classes:
AxMSWinsockLib
and
MSWinsockLib
With the bottom one I can read the state of my socket but everytime I add a socket to the form, VB adds a AxMSWinsock instead of a normal winsock, how can I tell VB that I don't want an AxMSWinsock?
|
|
|
|
|
|
Thanx, thats EXACTLY what i wanted!
|
|
|
|
|
VB.Net/MS Access. I have made an application in vb.net, access. I need to provide this application to different users. I have installed the application on a different machine on the network. Can I deploy the MS Access database one machine and use the application on different machines. What is the path that needs to be set if such a case has to be implemented.
With Best Regards,
Mayur
|
|
|
|
|
Sounds to me that you want the database to reside in one location as it should.
Your application needs to point to that database. Meaning that the connection string
needs to point to that location. Use your app config/reg entry/xml doc what ever to specify where the database is located.
|
|
|
|
|
Hi all ..
I'm printing some images through PrintDocument.
I need to get the height in millimeters or centimeters before I send it to document. Is there any way of doing this? I have searched through graphics namesspace and only found ways om doing string measurements.
Pleae help
Regards // H
|
|
|
|
|
|
Hello Friends,
I'm working in VB.Net and want to develop a like media player can anyone suggest me how i can do it in Vb.Net.plz
Reagards
Raj Sharma
|
|
|
|
|
|
Hi, I am working on a web parts custom control which consists of a label,a list box and a context menu. I bounded the context menu to the list box such that when the user rightclicks on the list, the menu will appear. However, when the menu appears, it is blocked by the listbox. Hence only part of the menu is visible. How do I make the menu to be totally visible and to appear 'on top of' the listbox?
A code snippet is below:
list1.ID = "List1" 'List's ID
listitem1.Text = "Testing" 'List's items
listitem2.Text = "Event"
list1.Items.Add(listitem1)
list1.Items.Add(listitem2)
Me.Controls.Add(label1) 'Add the list as part of the custom ctrl
menu1.ID = "ContextMenu1"
menuitem1.Text = "Acknowledge" 'Menu Items
menuitem2.Text = "Testing"
menu1.ContextMenuItems.Add(menuitem1)
menu1.ContextMenuItems.Add(menuitem2)
menu1.BoundControls.Add(list1) 'Attatch menu to the list
Me.Controls.Add(menu1) 'Add the menu to the custom control
The code is in Visual Basic 05. Advice will be appreciated!
|
|
|
|
|
Hi Guys....
i want to show MS Chart in PrintPreview Control & then print it.
How can i do this???Please Help.
Thanks for ur suggestions in advance.....
|
|
|
|
|
Are we talking about VB6 here?
If so, then a really easy method would be to call the PrintForm method. But this means no print preview.
Otherwise, you're going to have to implement something much more complicated. The MS Chart control itself doesn't provide a nice way to print or save it. A lot of people copy the chart image to the clipboard and then print/save it, but that's bad practice.
|
|
|
|
|
Hello again.
I just dug up some of my old VB6 MS Chart code. You can get an image of your MS Chart control by taking a screenshot of your form. You can then use this image in your print preview.
Taking a screenshot of your form involves calls to the Win32 API. Luckily, Microsoft has already written a VB6 Module that will do the work for you. You'll probably want to call its CaptureForm() function.
http://support.microsoft.com/kb/q161299[^]
|
|
|
|
|
Hi Guys!
need some help
i want to change the color of rows in datagridview if the value of 1 column is say "Disabled". i m fetching data from sql server 2005 in dataset and binding the dataset with the grid.
Can any one help me in guiding me how to do it.. any hints.
i m using VS.NET 2005
abhinav
|
|
|
|
|
You have to add a handler for the datagridview (cellpainting)
That event will be fired for every cell in your datagridview. There you must check the columnindex to see if thats the column you are checking, if it is, change the color of the row
Private Sub dgvDetalle_CellPainting(ByVal sender As Object, ByVal e As DataGridViewCellPaintingEventArgs) Handles dgvDetalle.CellPainting
If e.RowIndex >= 0 And e.RowIndex <= Me.dgvDetalle.Rows.Count - 1 Then
If e.ColumnIndex = 2 Then
If e.Value = 1 Then
'code to change color of current row
Me.dgvDetalle.Rows(e.RowIndex).DefaultCellStyle.BackColor = Color.AliceBlue
End If
End If
End If
End Sub
I hope that helps, if you havent done it yet
Alexei AR
Theres always a better way
Look for it
|
|
|
|
|
Someone Help !
Can I get all vb.net keyword string array at run time.
Thank in advance.
!alien!
|
|
|
|
|
I don't think so...
Search google for "Visual Basic .NET keywords" and put that in your array.
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
I don't think you can see them using public methods. At least I've never found anything in the VisualBasic classes that exposes it.
But, using Reflection, you might be able look inside the Microsoft.VisualBasic.VBCodeGenerator class, which is a Friend class in the Microsoft.VisualBasic namespace, and see the Private Shared ReadOnly member field keywords . This is an array of String arrays, but is not filled in until an instance of the VBCodeGenerator class is instantiated.
I'm short on time right now, so I can't build an example, but I've given you some hints of what to search for.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello again..
Need help if there is another way on how to display the day of the week using a variable that has a datatype of intger...
this is how i get the integer value...
intmonth = cdDateTime.picker.value.year
intday = cdDateTimePicker.value.year
intYear = cdDateTimePicker.Value.Year
and i have to use the integer value to get the day of the week...
cddate = Cdate( cstr(intmonth) + cstr(intday) + cstr(intyear).DayofWeek).ToString
this produce an error....nid healp ... thank you:->
|
|
|
|
|
Here is the simple way.
Dim objDate as Date
objDate=New Date(intYear,intMonth,intDay)
Messagebox.Show(objDate.DayOfWeek.ToString)
!alien!
|
|
|
|
|
welbert wrote: how to display the day of the week using a variable that has a datatype of intger
Dim DayOfTheWeek As Integer
DayOfTheWeek = Now.DayOfWeek
Or
you want to get it from the DateTimePicker
Dim DayOfTheWeek As Integer
DayOfTheWeek = cdDateTimePicker.Value.DayOfWeek
chatura
|
|
|
|
|
Hi everyone ,
How do I get the all sql server names using vb.net code? I would like to fill it into combobox. Thank in advance.
!alien!
|
|
|
|
|
hello everybody:
i am new to VB.net I have to design a custom web server control which validates itself on client side and server-side. which means that i would not use a seperate custom validator for validation, but it should be a part of the custom control itself.and this validation would be done on clientside first, and incase javascript is off in browser then validation is done on server side.
The description of the custom control is as follows:
its a date control which has 3 dropdowns(dds).one for month, second for days and third for days.it has two properties isDOB(boolean) and getDate which returns the date in the format mm/dd/yyyy.
one method setDate which takes the string inn the format mm/dd/yyyy.This will set date according to the input string.
can somebody point me to the rite direction.any help would be deeply appreciated.
Thanks
Cheers!
AB
Aamir Babar
|
|
|
|