Unable To Use The /*+- Sign On Keyboard?
Oct 26, 2010I am doing basic calculator program... but i not able to use the /*+- sign on my keyboard
when i press / (for example) in the TextBox.Text will show also / sign.
I am doing basic calculator program... but i not able to use the /*+- sign on my keyboard
when i press / (for example) in the TextBox.Text will show also / sign.
I wanted to make a calculator. Its fully made and everything but I recently wanted to add more to it. Only thing I can't figure out to do is to make keyboard functions. Like, if I want to type in the numbers instead of clicking the buttons on the calculator to input it into the calc. [code]....
It works to a certain point but i found out that the timer input multiple integers when pressing a key so I thought of about turning off the timer and then having the timer turn back on somehow but that is as close as i can get.
Im trying to send keys to cod4, Jump (space) works perfectly after i added the keyup after keydown, Before i added Keyup for W (move forward) it would jsut spam and keep running forward, but after i added keyup it doesnt move forward at all, not even a little bit
note: it does send W and space to regular windows,
ElseIf command.Contains("keyboard=space") Then
Call keybd_event(System.Windows.Forms.Keys.Space, 0, 0, 0)
Call keybd_event(System.Windows.Forms.Keys.Space, 0, KEYEVENTF_KEYUP, 0)
[code]....
Im importing text from a .txt file using streamreader and when it reads in a � sign it converts it to the square symbol for a unknown character! If i put in a $ sign it imports it correctly!
View 2 RepliesI have created a virtual keyboard like the "Windows onscreen keyboard". So, I have used the method sendkeys.But if I click on the button, it doesn't write nothing.
I think I have a problem with the FOCUS.As you can see, the "Windows onscreen keyboard" is always on top.This doesn't happen to my form. How can I do?
oke On-Screen keyboard through my VB code. I am using windows 7 and below code to open the keyboard. Everytime when i run this code i am getting error "Could not start On-Screen keyboard".e to fix this error?
Dim proces As New Process
proces.StartInfo.UseShellExecute = False
proces.StartInfo.RedirectStandardOutput = True
[code].....
I want to use VB to set an existing RDP connection's credentials.Can I do that with code only?
View 3 RepliesI use the code below to get driver file sign info, it works well
Imports System.Security.Cryptography.X509Certificates
Dim cert As X509Certificate2 = New X509Certificate2("C:WindowsSystem32drivers cpip.sys")
MessageBox.Show(cert.Subject)
But if want to get EXE file signed info like
Dim cert As X509Certificate2 = New X509Certificate2("C:WindowsSystem32winlogon.exe")
MessageBox.Show(cert.Subject)
the error occured "Cannot find the requested object"
I want to digitally sign my exe. I have a .p12 file as digital certificate.I used signtool.exe for signing the exe. After signing the exe the properties > digital Signature tab is showing the right name but when I am doing double click on exe then the "open file-Security warning" window is still showing unknown publisher.How can I show right name of publisher in "open file-Security Warning" window.
View 1 RepliesI recently upgraded to VB 2010 Express (from 2008), and I have a problem using the debugger. When I move the mouse pointer over an array variable, I only can get the value for the current index, and not values for all indices, as I did in 2008.
For example, if I move the pointer to classSize(i), I see the value for the current value of index i, but I do not see the plus sign which would display a drop-down list showing values of all elements in the array.
I checked for options (Tools > Options > Debugging > General), but did not see an option related to DataTips.
I am trying to get OpenSSL.net to 1) create a key pair to use for CA signing and 2) create and sign certificates using this CA. I have managed to create an RSA/SHA1 X509CertificateAuthority, and have created a X509Request and keys, but I am running into problems actually signing the request.
'create the request and request key
Dim rsa As OpenSSL.Crypto.RSA = New OpenSSL.Crypto.RSA()
rsa.GenerateKeys(1024, 65569, Nothing, Nothing)
[code]....
I am getting an OpenSslException on the line noted above, with the message error:0606B06E:digital envelope routines:EVP_SignFinal:wrong public key type error:0D0C3006:asn1 encoding routines:ASN1_item_sign:EVP lib
I got this nice piece of code from someone on this forum which only allows user to input numbers or backspace i need to modify it to allow the - sign so user can input a negative number Can someone share with me the code to modify this
If Not Char.IsDigit(e.KeyChar) Then e.Handled = True
If e.KeyChar = Chr(8) Then e.Handled = False 'allow Backspace
I'm building three web applications in .NET that will all share a users database and login information. Lets pretend that application 1 is the "parent" application and applications "A" and "B" are the "child" applications. All users have to be logged into application 1 to have access to applications A and B.
Authorization, Authentication, and MachineKey sections of all web configs are present and work correctly.
I have the correct web.config settings in all applications to achieve Single Sign On except one problem remains: what do I put in the "loginUrl" attribute of the forms tag in Applications A and B.
Assume that the url for the login to application 1 is [URL] How can I get applications A and B to send the user back to application 1 for authentication using only settings in web.config?
How can i create a sign up form.....using a database access... I'm done with Log in form and now i want to create a sign up form..
View 6 Replieshow to create arrow sign in vb.net that work like go to next and previous page.
View 7 Repliesi had decided to make my academic project in digital signer ,so i surf net for it and got a sample. its main aims is ti sign only one pdf..so i decided to make the application to sign all pdf which r there in a folder,i had done all the changes, i but i come accross an error which i am not able to solve,
View 1 RepliesI would like to know how I would separate the $ from number. I am reading data from a text file. the last column has a contain $12.00. I am able to split the five columns into an array. But also want to be able to remove the dollar sign.
i.e.
John Kay Lame Welder $20.00
I am trimming some strings but I am unable to do anything about the strings containing plus signs. For example if I have this string with a telephone number
Dim str As String = "+46765124246"
And try
str.replace("+46", "0")
Nothing changes in the string.
I am using web browser control to login to gmail account. After successful login, i want the browser automatically sign out. How can i do that? I tried this:
Private sub webbrowser1_DocumentCompleted (Byval sender as system.object)Dim element as html elementfor each element in webbrowser1.document.links if element.getattribute("href").contains("logout") then 'log out code goes here
I am fairly new to VB.NET so I research alot when I run into bugs. Problem is I cannot find a solution to this, or anything remotely dealing with it. I am developing software to connect to a remote mysql server, run a query, and come back with a dataset. I have run this query against the server through a mysql prompt and have received a result successfully. But when i try to run this query from my app, I get an object reference error.
Through debugging I have found that the @ character used for variables in sql strings, is causing the problem in my code, but i cannot find a way to pass this query to the server without visual studio throwing errors. Every answer to the use of variables that I have found, suggests specifically stipulating the variable values in my code, which I do not want to do.
[Code]...
I have one datagridview and there some field are there for money dataType. But if user want to add (-) keyword then it should be display like -$10. if again user will click on (-) keyword then it should be remove i.e $10 .
View 8 RepliesI have one datagridview control and there one column are there for money data type. But if user press to minus (-) keyword then it should be display like -$10. and again if user will press on (-) keyword then it should be remove i.e $10 .
View 3 RepliesI am writing to a Comm Port to display in a Pole Display and when I insert the � sign it displays a question mark on the customer display. Have others had similar issues when displaying currency signs and/or know how to resolve this issue?
View 1 RepliesWell I thought this was going to be easy, then the problem showed up.So I have a structure defined, as follows:
Structure Testing
Dim i as short
Dim j() as short
[code]....
And I need to do the same with all of the T2 array members.Now I get into writing the real code. Something like this:
For i = 1 to 100
Populate portions of T1 'not all values of T1 are used for each value of i
T2(i) = T1
Reset T1 to zero values and empty strings
Next i
So what is going wrong? After I set my T1 components back to zero, my T2(i).j has had all its 1-10 index values set to zero. Note that it is just the array, not the string s or the non-array i.Sure, I could write some code where I set T2(i).i = T1.i, and so on for each variable in the structure. But I have a feeling that is not the right way. There is some kind of equivalence going on between T2(i) and T1 in each loop. And I would would like to understand that more so I know how to really deal with it.
In our VB .NET application, we use "c0" and "c2" format strings to display currency values all over the place.
Recently, users have had issues where these currency values don't show up correctly with a $ sign, but with some weird symbol, ¤. Through wikipedia, I found out it's the generic currency symbol: http://en.wikipedia.org/wiki/Currency_(typography)
I've seen the problem happen on my machine ONCE, and haven't been able to recreate it since. It went away when I restarted the application. In fact, as soon as I saw the problem, I started another instance of the application but $ signs showed up fine in that second instance.
what is the meaning of the dollar sign after a method name in vb.net
like this:
Replace$("EG000000", "0", "")
I am using this function to enter numeric values with allowance for only a single decimal place but I also want toallow for a m
Public Function SingleDecimal(ByVal sender As System.Object, ByVal eChar As Char) As Boolean
Dim chkstr As String = "0123456789."
If chkstr.IndexOf(eChar) > -1 OrElse eChar = vbBack Then
[code].....
What is the correct numeric format to display a Double value as a percentage with a sign (positive or negative) ?
I currently have:
percentage.ToString("P2")
but the "P2" leaves out the positive sign. For example a value 0.1234 should be displayed as +12.34%
I had decided to make my academic project in digital signer ,so i surf net for it and got a sample. its main aims is ti sign only one pdf..so i decided to make the application to sign all pdf which r there in a folder,i had done all the changes, i but i come accross an error which i am not able to solve.
View 4 RepliesIn my project i need to sign every end of a string with Binary NULL, how do I write Binary NULL?
View 6 Replies