|
Nope
We ran across the same problem - temp keys that expire in 12 months. The only solution that we could get to work was the uninstall process.
So the moral of the story - create a certificate BEFORE you start developing your clickonce deployed apps.
Sorry I know this does not help but at least you are not alone
|
|
|
|
|
I'm trying to make a gap-killer for the MP3 player I'm working on. Can anyone help me out with a way of getting the volume levels of an audio file? Basically I want to start from the end of a file and work backwards until the dB is at a certain level, and then trigger the start of the next song.
Simple crossfading would be easy enough, but it's a little too clunky for me. I hate cutting off the ends of songs that don't fade out.
Hopefully it works from both ends. Some of the songs I've got have dead air at the beginning too.
Thanks for your help.
"Go to, I’ll no more on’t; it hath made me mad." - Hamlet
|
|
|
|
|
Hi. I'm using Vb.net 2005 and need some way of allowing the user to select a folder and all files matching a certain extension (in this case mp3s) are then selected within that folder. I want to extract the abolute path, folder path and filename from each of the files in the folder. I already have used the OpenFileDialog class to select mp3s individually or by pressing ctrl + A to select all in the current folder, but i want to allow the user just to select a folder and all files are selected and using a for each loop iterate though all the files extracting the absolute path, file name and folder path. Can anybody help with this?
Mr Oizo
|
|
|
|
|
You can use a FolderBrowserDialog control to allow the user to select a directory (Its in the Dialog section of the toolbox near the OpenDialog control). Then in your code you can select the files that have a specific extension by using something like this:
Dim strMP3Files As String() <br />
strMP3Files = System.IO.Directory.GetFiles(strSelectedDir, "*.mp3")
Hope this helps.
|
|
|
|
|
Hey thanks alot.... It wasn't exactly what I was looking for but it got the job done by returning the absolute path of each of the files i was looking for. I just used a bit of string manipulation to satisfy my fileName field and got the folder path from the folderBrowserDialog.SelectedPath property. Happy times thanks alot
Mr Oizo
|
|
|
|
|
Hi Again,
Does anyone know how to implement the Alt-Tab function?
For example, I have my application running and I want the user to click on a button in my app which will return them to the previous running application without closing my app.
thanks,
joe c
joe c
|
|
|
|
|
I already told you there is no way to tell what the previous application or window was. You have to write hook code to track what the CURRENT window is and add it to a short list. WHen the current window becomes your application, you look in the pervious entry in the list to see which window HAD the focus.
Asking the saem question again and again will not change the answer.
|
|
|
|
|
Sorry, I wasn't intending on asking the same question, I understood your first reply and agreed with you.
joe c
|
|
|
|
|
i m working on vb.net to protect some cells in excel sheet programmatically..
if anyone has worked on such cases, kindly reply soon..
Biswaranjan..
|
|
|
|
|
Hello,
i use a web service that is written in php. this service provides, after login, a session id in its soap header. My question is who can i get and set this session id in my App?
I create a Proxy Class with the wsdl.exe.
Can somebody help??
Thank you
|
|
|
|
|
Hi,
I'll Assume that the class that inherits from SoapHeader called SessionHeader.
Dim oWS As New wsns.WebServiceName
Dim oSession As New wsns.SessionHeader
oSession.Session = "New Session..."
oWS.SessionHeaderValue = oSession
* wsns = WebService Namespace
Hope this helps ... and Enjoy
|
|
|
|
|
Hello,
first thank you. But my problem is not resolved. I will show you some code to understand my problem.
First the Webservice in PHP (This is ReadOnly Code, i couldn't change it)
function securityCheck($userid = null, $password = null) {
global $server;
$auth = new Authentication();
if (isset($server->requestHeader['Session'])) {
session_id($server->requestHeader['Session']);
} else {
$error = $auth->Login($userid, $password);
if($error != "") {
return false;
}
}
return $auth->IsLoggedIn();
}
function login($userid, $password) {
if (!securityCheck($userid, $password)) {
return new nusoap_fault('Client','',"Invalid userid/password",'');
}
return session_id();
}
The Login works fine. But then i get a Session ID back and this id need to be set in every request. My Problem now is to set the requestHeader.
Client Code
Dim Proxy As 'ProxyClass = New ProxyClass() (Proxy Class is autogenerate by wsdl.exe from VS2005)
dim sessionid as String = Proxy.Login(user, pwd)
-------------------------------------------------
dim test as String = Proxy.OtherFunction
Here i get a exception 'No session startet'
|
|
|
|
|
Hi,
I am not sure exactly about the code, but try to look inside your php code to find the function that return the message 'No session startet', check the condition that triggers that message, if the variable in that condition is readonly (not a public, webservice enabled variable) and you have no right to change the code then it will be so hard to solve the issue
Good luck
|
|
|
|
|
hi everytime i reopen my project things i have writen into it disapear even tho i open and close previous and they are there and other times the code that was there is gone does anyone no why this is happening??
|
|
|
|
|
hi iain6594,
If you need help you need to Provide us with more info. we dont know what VS version you are using?,what OS?, what untivirus ?
please give us more info then we can work from there.
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
|
|
|
|
|
im using window xp pro and visual basic express edition
|
|
|
|
|
i Suggest you Download the latest Security Patches, and you should get your self a good antivurus and scan your system unistall visual basic express edition and install it after all the scanning and installation of service packs/security patches. when something happens like that there is a worm.
Hope it helps
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
|
|
|
|
|
How do I populate a textbox in a form from the information on the DataGridView
Matodzi
|
|
|
|
|
hi Matodzi
its Good to hear from a Brother in South Africa,my brother here we Google first before we post, or else you will be ignored.the Following link will lead you to your answer.
http://msdn2.microsoft.com/en-us/library/at23yw2h.aspx[^]
chess
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
|
|
|
|
|
Hi,
It seems you need to get a single value from the selected row, if this is what you want please try the following snippet:
If IsDBNull(dg.Rows(e.RowIndex).Cells(0).Value) Then
TextBox1.Text = "N/A"
Else
TextBox1.Text = dg.Rows(e.RowIndex).Cells(0).Value
End If
* dg = DataGridView
Note: Change 0 to the column index that you want to read from!
hope this helps
|
|
|
|
|
|
hi
normally to display an image image control is required. if we want it on picture button also we can have it.
i have a pic with .jpeg extension of 7mb size. i am trying to display the image in vb.net webform but it is not displaying. but the same pic when i tried in windows forms i used picturebox to display the same pic(it was displayed).
how to do it in webforms.
does the resizing the image does not solve the problem cause the pic is 7mb size.
how to dispaly this picture
there is no such thing as good or bad.
|
|
|
|
|
You could start by checking that the image is in RGB format rather than CYMK - windows can display both but the browser can only display images in RBG format.
|
|
|
|
|
I am making a custom control which inherits from panel. This Control contains a collection field which will build a collection of another control (which also inherits from panel) in the form of List(of T). So far i have created my items (the second panel object) and during design time can go into the collection editor and add multiple items, yet when i close the collection ediotor and reopen it, the items in the collection have disappeared or are not visible in the collection builder anymore.
|
|
|
|
|
if the collection editor is you're first custom control wich contains the list(of T) then this behavior is normal. since you have closed the control containing the collection the collection has been destroyed when you reopen it a new collection (empty) is created.
If you want to keep the items in the collection even after closing it you have 2 options:
1) you save it to a db or file
2) you put the collection (list(of T)) not in you collection editor but in the form that contains the collection editor and when you open the collection editor you then give the list to it (you can do this with a public shared property and a few other methods)
hope this helps
|
|
|
|