User Profile
Collapse
-
Hi Frinny, great I got it working thanks alot for your help -
Hi Frinny, how do I go about sending the email on port 465? I am not familiar with the concept of ports... I am fairly new to ASP.NET and to web technologies.
thanksLeave a comment:
-
Hi Steven, well the code I have does not work. It doesn't give me any errors it runs but without sending the gmail. I don't know if there is anything wrong or why it doesn't send the gmail.
thanksLeave a comment:
-
sending gmail from ASP.NET
Can someone help me with the following code? I am trying to send out gmail from my asp.net webform. here is what I have so far. Thanks so much....
...Code:using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls;
-
Thanks for your prompt response. I tried the DLLImport but for some reason I can get it to work. I came with the following code.
However; I can't get the method to return an errorCode number.
...Code:[DllImport("c:\\Program Files\\DHI\\Calibration\\muEpanet2.dll")] static extern long MUEpanet_RES_Load2Mem_InitHeader(ref string F1, ref long F2, ref long F3); [DllImport("c:\\ProgramLeave a comment:
-
Convert VBA code to C#
I have VBA code calling an external dll file, within the dll exist method "getErrorCo de".
I would like to know how I should call the dll file from C#.
with in my code I call the method getErrorCode like thisCode:Private Declare Function getErrorCode Lib "c:\master.dll" (ByVal F1 As String, ByVal F2 As Long, ByVal F3 As Long) As Long
...Code:ErrCode = getErrorCode(fileName,
-
@GaryTexmo Yes, I google it and my code is OK... but I just can't see why my code doesn't give me the results I expect from the DLL...Leave a comment:
-
Yes, I google it and my code is OK... but I just can't see what it doesn't work....Leave a comment:
-
Convert VBA to C#
I have the following code in VBA I would like to convert the same code to C#. the VBA codes calls a c++ dll which includes method myMethod. Thanks so much for your help.
Code:Private Declare Function myMethod Lib "c:\myDLL.dll" (ByVal F1 As String, ByVal F2 As Long, ByVal F3 As Long) As Long
Leave a comment:
-
import a C++ dll into C#
I am trying to get a method out of a C++ dll in C#. Can anybody help me I can't extract the method myDll which takes 3 parameters (string, long, long). I get an error message "vshost.exe stopped working " Can anybody tell me what's wrong with the code below.
...Code:namespace WindowsFormsApplication1 { public partial class Form1 : Form { // hereLeave a comment:
-
c++ dll in C# project
Im trying to use an external DLL and extract data from the dll. my code is as follows:
myMethod should return a Zero "0". but when I run it I get an error message "vshost.exe has stopped working".
...Code:namespace WindowsFormsApplication1 { public partial class Form1 : Form { [DllImport("c:\\Program Files\\DHI\\Calibration\\muEpanet2.dll")]Last edited by tlhintoq; May 7 '10, 03:18 PM. Reason: [CODE] ...Your code goes between code tags [/CODE] -
Thanks alot for your help!!! I came up with the following code and it works right.
...Code:ImageButton myImageButton = new ImageButton(); protected void Page_Load(object sender, EventArgs e) { myImageButton = (ImageButton)Master.FindControl("btnHome"); if (myImageButton.ImageUrl == "~/images/home.jpg") { myImageButton.ImageUrl="~/images/homeSelected.jpg";Last edited by Frinavale; May 4 '10, 01:17 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.Leave a comment:
-
Modify imageButton.Ima geUrl in a master page
I have a master page which included several ImageButtons controls. I would like the image on each of these buttons to change as the user clicks on determined button. For example, the home (button) when clicked will show the image homeSelected.jp g, when is not selected willl show the home.jpg.
Any help on this matter will be greatly appreciated.Leave a comment:
-
Change imageButton image in a master page
I would like to change the image on animageButton as this is clicked by the user.
when the master page is loaded it shows the btnHome.ImageUr l = "~/images/home.jpg";
But when the user clicks on the btnHome, its ImageUrl should change to btnHome.ImageUr l = "~/images/homeSelected.jp g";
The imageButton should change from a selected image to nonselected.
Thanks so much
No activity results to display
Show More
Leave a comment: