|
Hi
I want to generate a certificate signing request programatically via VB.NET . I'm generating the key pair using the RSA CSP and i want to generate the coressponding CSR.
Is it possible to do this in VB.NET. if so can someone pls post the code here.
Thanks a LOT
-Raj
|
|
|
|
|
Hi alls,
I have one problem with changing my interfaces from vb6 controls into xp interfaces.
could you alls help me pleasesssssssssss?
sokheng
|
|
|
|
|
AFAIK, it's not supported. VB6 doesn't have the ability to switch to the XP style controls.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
It can be done but... there are some 'gotchas' of which you must be aware.
I did this for an old application I was updating in VB6. I had to back out the changes though since we were using some third-party controls which completely stuffed up when we used the manifest file method of providing XP styles. Pity, our code was ok - the third party controls limited our use of XP styles.
Anyway, have a look here[^]
or Google "VB6 manifest".
By the way, this isn't supported by Microsoft in VB6. It just happens to work.
...Steve
|
|
|
|
|
first of all thanks for your convenience..
hmmm...I have search from google and I got the infor "rename the exe file into exe.manifest.."
But while I apply this soloution into my project it still doens't work.
And how can i contact third party ?
Suppose I cannot with vb6, which version of vb that allow me to do this.
Thanks..inadvanced.
Sokheng
|
|
|
|
|
Anonymous wrote: hmmm...I have search from google and I got the infor "rename the exe file into exe.manifest.."
But while I apply this soloution into my project it still doens't work.
You do not rename your EXE file but create a separate file named [yourEXEFileName].EXE.MANIFEST . This file must be placed into the same directory as your EXE file.
Are you trying to get the XP styles in the VB6 IDE? If so there is a special procedure to do this but it is not supported by Microsoft and I recommend against it.
Anonymous wrote: And how can i contact third party ?
What third party? I presume you'd find an email address and email them.
Anonymous wrote: Suppose I cannot with vb6, which version of vb that allow me to do this.
Have a more careful read of the original web article to which I pointed you. It can be done in VB6. I cannot do this for you or take you through the steps as I do not have the time to dedicate to this task.
If you have access to VB.NET then native XP styles are supported out of the box.
...Steve
|
|
|
|
|
How am I goint to read the RSA public key?
For lCnt = 2 To 129 Step 1
'convert data to Character
decArray1 = decArray1 & Chr(aryResult(lCnt))
Counter = Counter + 1
Next lCnt
sResult = Base64Encode(decArray)
sResult1 = Base64Encode(decArray1)
i try this command, but when i want to request for certificate, it return error.
izyani
|
|
|
|
|
i'm doing a project for school and i need a web site that is standarized enough to be able to retrieve a stock quote for any given stock symbol and return those values to either a sql database or an xml file for import into a sql database. i'm sure there is a Google solution to this, but i won't know where to start with that.
thanks ahead of time,
stephen
|
|
|
|
|
medicenpringles wrote: i'm sure there is a Google solution to this, but i won't know where to start with that.
"xml stock ticker vb" works, in fact the first match is a full solution. If you use it, obviously read the article and then rewrite the code, so that you understand what it does, and you've actually done your assignment.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
this problem appears only when the windows startup... and no problems comeout when i run the program directly on double click .
when the Windows starts... a new instance of the debugger run .. then it come out with this message:
An unhandled exception of type 'System.TypeInitializationException' occurred in Unknown Module.
Additional information: The type initializer for "MyProgram.MyModule" threw an exception.
so what's the problem?
militiaware
|
|
|
|
|
I need to program a 9 cell (column) X 9 cell (row) data box. I am new to VB and today learned that I was using "VB 6 for Dummies" book for book store, hmmmm, now what does that tell you?
Anyway the purpose of these cells is to only place numbers for calculations algorithms.
PLEASE HELP, been at this now for 3 days. Found a long site at MS and copied the code and it kept telling me to declare workcolumn but can find no INFO to help.....I know that this may be simple but I love this, and basically am self teaching.;)
can email at my regular email....
Oscar
|
|
|
|
|
iam4ed wrote: "VB 6 for Dummies"
So, are you using VB6 ?
iam4ed wrote: it kept telling me to declare workcolumn
Sounds like you're using Excel ? Or interoping with it ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
No I am using VB.net I went to the comp store and bought it, and read the rather thin manual that is included in it, and now I wanted to stay away from excel I am good in excel but it is NOT compatible with out having excel in the program file.....
I really appreciate your help
Oscar
Oscar
|
|
|
|
|
Then a VB6 book isn't much help. You should take it back and try to get one on VB.NET. I still don't get what you want to do - you're not using Excel ? So you're using a datagrid ? What do you need ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I have a file that is delimited by tabs and for the life of me can't figure out how to get my program to work correctly because the p 12 box 1 and so forth is not on every single line. If you could please take the time and help me that would be great.
Here is the code i have so far.
[code]
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim readpath As String = txtRead.Text.ToString()
Dim writepath As String = txtWrite.Text.ToString()
Dim sr As New StreamReader(readpath)
Dim line As String
Dim linevalues() As String
Dim contents As New ArrayList
Dim finished As Boolean = False
While Not finished
line = sr.Readline()
If line Is Nothing Then
finished = True
Else
linevalues = Split(line, TAB().ToString())
contents.Add(linevalues)
End If
End While
Dim sw As New StreamWriter(writepath)
Dim counter As Integer
For counter = 0 To contents.Count() - 1
linevalues = CType(contents(counter), String())
If linevalues(3) = "ACA" Then
' Write all information for ACA type meter
Call sw.WriteLine(TAB().ToString() & "3 " & TAB().ToString() & linevalues(2) & TAB().ToString() & linevalues(3) & linevalues(4) & TAB().ToString() & linevalues(5) & "100" & TAB().ToString() & "Single Phase" & TAB().ToString() & "FORM-2 BASE-S VOLT-240 TA-30 Kh-7.2 RR-13 8/9 Wire " & "Shipment4 " & "Accurae Calibration of the Carolinas" & linevalues(0) & linevalues(1) & linevalues(2) & TAB().ToString() & TAB().ToString() & TAB.ToString() & "0" & TAB().ToString() & "6" & TAB.ToString() & "100" & TAB.ToString() & "Z" & TAB.ToString() & "1" & TAB().ToString() & "8" & TAB().ToString() & " Radio Read" & TAB().ToString() & "10/10/05" & linevalues(6) & TAB().ToString() & linevalues(7) & TAB().ToString() & linevalues(8) & TAB().ToString() & linevalues(9) & TAB().ToString() & linevalues(10) & TAB().ToString() & linevalues(11))
ElseIf linevalues(3) = "ACD" Then
' Write all information for ACD type meter
Call sw.WriteLine("," & "3," & linevalues(1) & linevalues(2) & "," & linevalues(3) & ",,,Shipment 3,Langus Meter,1,Langus," & linevalues(4) & "," & linevalues(5) & "," & linevalues(6) & "," & linevalues(7))
ElseIf linevalues(3) = "ACG" Then
' Write all information for ACG type meter
Call sw.WriteLine("," & "3," & linevalues(1) & linevalues(2) & "," & linevalues(3) & ",,,Shipment 3,GE Meter,1,GE," & linevalues(4) & "," & linevalues(5) & "," & linevalues(6) & "," & linevalues(7))
End If
'Call sw.WriteLine(linevalues(0) & " whatever ")
Next
sr.Close()
sw.Close()
lblFinished.Visible = True
End Sub
[/code]
Here is a sample of the text file
[code]
P 12 1 ACA 26732042 50013209 100.09 99.73 100.09 99.73 100.02 100.02
ACA 26729748 50013043 99.31 98.82 99.84 100.13 99.22 99.90
ACA 26730218 50010533 100.02 99.59 100.02 99.59 99.94 99.94
ACA 26664336 50010599 99.88 100.13 99.88 100.13 99.93 99.93
P 12 2 ACA 27267998 50013354 99.92 98.61 100.13 99.75 99.66 100.05
ACA 38623886 50013351 100.03 99.76 100.03 99.76 99.98 99.98
ACA 26727768 50010624 99.77 99.30 99.97 100.29 99.68 100.03
ACA 27638050 50010558 100.20 100.03 100.20 100.03 100.17 100.17
P 12 3 ACA 38623828 50013238 99.93 99.47 100.02 100.21 99.84 100.06
ACA 39181977 50013338 100.11 99.93 100.11 99.93 100.07 100.07
ACA 39254044 50013227 99.99 99.83 99.99 99.83 99.96 99.96
ACA 38661916 50010577 99.93 99.48 99.92 99.71 99.84 99.88
[/code]
for an aca it needs to write to the file for example the following
tab() 3 tab() ACA26732042 tab() 500013209 tab() 100 tab() Single Phase tab() Form-2 Base-S Volt-240 TA-30 kh-7.2 RR-13 8/9 Wire tab() shipment4 tab() Accurate Calibration of the Carolinas & tab() P 12 1 tab() tab() tab() 0 tab() 6 tab() 100 tab() Z tab() 1 tab() 8 tab() Radio Read tab() 10/10/05 tab() 100.09 tab() 99.73 tab() 100.09 tab() 99.73 tab() 100.02 tab() 100.02
please note tab() indicates that it needs to be tab delimited.
Thankks for your help.
Tony
|
|
|
|
|
I've created a good little Media Player! It play's almost all audio and video format's using DirectX 9 and Net Framework. However i need to know how to change the Audio volume? (like Windows "Volume Control"). I'm Presumming it would have to be done using API. Just don't know how to do API in VB.net 2003 Enterprise Ed.
If anyone could help me out please?
|
|
|
|
|
if ure using directx to play the video then...
Video.Audio.Volume = ??
Where Video is AudioVideoPLayback.Video object, Which you must be using?
|
|
|
|
|
So if i use "Microsoft.DirectX.Video.Audio.volume = Integer(value)" for Video Audio how about the Audio file Volume...?
What it is I've Declared my Video file as "DVF" and Audio file as "DAV" and Currently Playing as file as "DCF". If you understand where i'm going with this?
|
|
|
|
|
Hi there,
Somewhere on one of my PC's I have a class that controlls the master volume.
I think that's what you're looking for.
I also have a nice volume control knob, so if you're interested, give me your e-mail address and I'll mail it to you!
Mine is Jerry___@hotmail.com (thats 3 underscores!).
I'm also interested in media players and stuff like that and I don't know a lot about DirectX. So if you could do me a favour and let me have a look at your code.
I'll look up the code and send it to you asap.
Cheers Jerry.
|
|
|
|
|
|
For a larger project you need to buy a converter, or do it yourself, line by line. It's not that hard.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
hi ,
i want to read the CPU performance and main memory usage .
I tryed using performance counter component which not give results.so please give me ideas
VERY Argent . Nearly i have to delever my product
Amalarajan
softdeveloper beginer
-- modified at 7:27 Tuesday 18th October, 2005
|
|
|
|
|
hi ,
i am currently doing leasing(bank) project using VB.NET , i like to develope read memory performance such as Memory usage,peformance etc .. ,therefore i used PERFORMANCE COUNTER Component to accomplish my task ,but which have been not worked . So please give idea to fnish my project .
VERY Argent . Nearly i have to delever my product
Amalarajan
softdeveloper beginer
|
|
|
|
|
I have no idea what your question is. You want to check the performance of your application ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
sir ,
i want to write code for read the "performance" of CPU(taskmanager -> performance) and "Main Memory" usage.
I tryed using performance counter component but not work.
Please give idea...
very urgent because nearly i have to delever my project
Amal
|
|
|
|