Click here to Skip to main content
15,908,115 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Problem with Binding a database to a datagridview Pin
crain198118-Dec-10 13:04
crain198118-Dec-10 13:04 
AnswerRe: Problem with Binding a database to a datagridview Pin
crain198119-Dec-10 11:25
crain198119-Dec-10 11:25 
QuestionMSChart on Win 7 64 bits ? Pin
gbessis18-Dec-10 6:43
professionalgbessis18-Dec-10 6:43 
AnswerRe: MSChart on Win 7 64 bits ? Pin
Dave Kreskowiak18-Dec-10 15:34
mveDave Kreskowiak18-Dec-10 15:34 
QuestionWhat is the equivalent code in vb? [modified] Pin
Milad.Biroonvand17-Dec-10 21:57
Milad.Biroonvand17-Dec-10 21:57 
AnswerRe: What is the equivalent code in vb? Pin
Eddy Vluggen18-Dec-10 0:15
professionalEddy Vluggen18-Dec-10 0:15 
GeneralRe: What is the equivalent code in vb? Pin
Milad.Biroonvand18-Dec-10 1:43
Milad.Biroonvand18-Dec-10 1:43 
GeneralRe: What is the equivalent code in vb? Pin
Eddy Vluggen18-Dec-10 11:44
professionalEddy Vluggen18-Dec-10 11:44 
Milad.Biroonvand wrote:
If the code is complete?

I'm sorry, but that's a bit much too translate - you'll need someone who speaks either language. Most constructs, like the SaveDialog, are available in both languages. To give you an idea of what needs be done;

Pascal
Procedure TForm1.btnSavePictureClick(Sender: TObject);
begin
  If SaveDialog1.Execute then
    Image1.Picture.SaveToFile(SaveDialog1.FileName);
end;

C#
private void Form1_btnSavePictureClick(Object sender, EventArgs e) // private, because it's omitted in the interface-section,
{                                                                  // and Delphi defaults to private too.
    if (saveFileDialog1.ShowDialog() == DialogResult.OK)           // Assuming a saveFileDialog control on the form
        pictureBox1.Image.Save(saveFileDialog1.FileName);          
}

Look like old relatives, don't they? Smile | :)

We'll be available for further help if you get stuck on making the translation.
I are Troll Suspicious | :suss:

GeneralRe: What is the equivalent code in vb? Pin
Milad.Biroonvand18-Dec-10 2:14
Milad.Biroonvand18-Dec-10 2:14 
QuestionNeed help loading a background image from the registry Pin
Garrett Crawford17-Dec-10 18:18
Garrett Crawford17-Dec-10 18:18 
AnswerRe: Need help loading a background image from the registry Pin
Richard MacCutchan17-Dec-10 23:46
mveRichard MacCutchan17-Dec-10 23:46 
AnswerRe: Need help loading a background image from the registry Pin
Dave Kreskowiak18-Dec-10 3:02
mveDave Kreskowiak18-Dec-10 3:02 
GeneralRe: Need help loading a background image from the registry Pin
Garrett Crawford18-Dec-10 9:39
Garrett Crawford18-Dec-10 9:39 
GeneralRe: Need help loading a background image from the registry Pin
Dave Kreskowiak18-Dec-10 15:32
mveDave Kreskowiak18-Dec-10 15:32 
GeneralRe: Need help loading a background image from the registry Pin
Garrett Crawford18-Dec-10 19:16
Garrett Crawford18-Dec-10 19:16 
GeneralRe: Need help loading a background image from the registry Pin
Dave Kreskowiak19-Dec-10 4:21
mveDave Kreskowiak19-Dec-10 4:21 
GeneralRe: Need help loading a background image from the registry Pin
Garrett Crawford19-Dec-10 5:52
Garrett Crawford19-Dec-10 5:52 
QuestionSourceSafe and VB.Net Pin
#realJSOP15-Dec-10 8:48
professional#realJSOP15-Dec-10 8:48 
AnswerRe: SourceSafe and VB.Net Pin
fjdiewornncalwe15-Dec-10 8:53
professionalfjdiewornncalwe15-Dec-10 8:53 
AnswerRe: SourceSafe and VB.Net Pin
Prerak Patel16-Dec-10 0:24
professionalPrerak Patel16-Dec-10 0:24 
AnswerRe: SourceSafe and VB.Net Pin
Gary Wheeler16-Dec-10 0:55
Gary Wheeler16-Dec-10 0:55 
AnswerRe: SourceSafe and VB.Net Pin
Member 459898616-Dec-10 5:33
Member 459898616-Dec-10 5:33 
AnswerRe: SourceSafe and VB.Net Pin
Steve Naidamast16-Dec-10 7:23
professionalSteve Naidamast16-Dec-10 7:23 
GeneralRe: SourceSafe and VB.Net Pin
Member 376360816-Dec-10 10:37
Member 376360816-Dec-10 10:37 
AnswerRe: SourceSafe and VB.Net Pin
Fabio Franco16-Dec-10 9:38
professionalFabio Franco16-Dec-10 9:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.