Topics
-
- 3 replies
- 2.2k views
Basically, I have part of this code for calling the stored procedures for update purpose: Private Sub submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Dim strMessage As String Dim moddate As DateTime Dim createdate As DateTime 'update strd proc 'Btn_Cancel.Visible = False 'Btn_Save.Text = "Add" 'lblEmpNo.Visible = False 'lblIssueDate.Visible = False 'lblReturnedDate.Visible = False strMessage = "Update successfull" t_Serial.ReadOnly = True Dim dbconn As New SqlConnection(strconn) dbconn.Open() Dim cmdNew As Ne…
Last reply by eramgarden, -
-
- *Gurus*
- 3 replies
- 1.2k views
I am almost ALWAYS having trouble with deployment in asp.net. The page works perfectly on my computer, but when I give the page to a friend, lots of errors, also when I try to put it on a remote server ... like europe.webmatrixhosting ... Some tips and tricks !??! Some good articles on asp.net deployment ? Example : http://proka2.europe.webmatrixhosting.net/SendEmail.aspx
Last reply by Mister E, -
-
-
- Administrators
- 9 replies
- 2.7k views
ok heres the thing... I am wanting to modify my program to be able to display information in the taskbar. That is, I wish to make an app that acts like windows media player when minimised. All i need to display is a ready created custom control (basic tickertape style textbox). I have searched for this solution on the net but can only find reference to the msdn site for deskbands which gives its example in c++. This example is asking for implementations i have never heard of and cannot find in vb.net. I was wondering if anyone had managed to create such a taskbar app in vb.net and some pointers to how. TY in advance Dill
Last reply by Dill, -
-
-
- Administrators
- 6 replies
- 2.7k views
Hi all, Have written a simple TCPServer, see code below, that is suppose to listen at a certain port for a message and print that message. If I use for example port 8001, then the code works perfectly. However I need to listen to port 80, for an email with a specific header. When the email with the correct header is received at port 80, I need my code to respond in a specific manner. The problem is that when I try and connect to port 80, I get the following exception: Error..... at System.Net.Sockets.Socket.Bind(EndPoint localEP) at System.Net.Sockets.TcpListener.Start() at TCPServer.Form1.btnServer_Click(Object sender, EventArgs e) in c:\documents and …
Last reply by Mister E, -
-
- 0 replies
- 966 views
Hi, Anyone knows how to send Max-forwards header in HttpSendRequest function?????? Thanks
Last reply by ahmadzia673, -
- 0 replies
- 1k views
VS Datagrid Property Builder : String Formatting Column Ouput Hi again, I was wondering how in the Data Formatting Expression field you could include the values of other columns? Below is roughly what I would like to be able to enter (if I was doing this in code using string.Format) "<a href=/"detailspage.aspx?ref={0}/">{1}</a>", ref, title I've tried several different ways already but just get a databinder exception. Thanks!
Last reply by rcaine, -
- 2 replies
- 3.2k views
Hi, I'm trying to use alternate row colouring but I have an additional problem. If an item is missing certain data, I want to hide it from normal users or colour it pink for admin users. The problem is if I hide the row, it messes up the alternate colouring on the grid. That is, instead of getting blue-white-blue-white, I get blue-white-white-white-blue because the row that should have been blue has been hidden. I need to some how remove the rows before the render event so that the alternating colour scheme still works. Any idea how this might be achieved? I've looked around on the web and seen potential methods which involve the prerender event or the itemDat…
Last reply by rcaine, -
- 3 replies
- 1.9k views
Hi all, Is it possible to write an ASP.NET application to monitor and reponds to data packets received in to a particular port???? Mike55
Last reply by mike55, -
- 1 reply
- 1.1k views
Coding a custom adaptive rendering layer for IIS? As we all know, IIS outputs custom htm/css/js from ASP.Net apps according to what browser & version you're using on the webpage. I think we can all agree IE is treated as a first class citizen while other browsers are sometimes given inferior rendering simply because MS didn't offer custom rendering paths for specific browsers (ex: Opera, FireFox, etc). I want to know if it's possible to create my own rendering path for IIS so that my ASP.Net apps can have improved rendering for 3rd party browsers. Obviously this is something I want to be able to deploy on different IIS servers, I want it to be totally sepe…
Last reply by travisowens, -
- 0 replies
- 1.2k views
Sorry to double post....I posted in the wrong section...got no replies Hi, I am having a %$#* of a time trying to find a way to retrieve historical stock price data from Yahoo with VB.NET. It was quite easy in VB6 using the INET control to contact the Yahoo data server and store the resulting .csv file in a variant to be parsed (split) later. ================= Dim myURLString as string Dim MyResponse as variant 'Constuct the url to request the data myURLString = "HTTP:finance.chart.yahoo/.....symbol=CSCO...and so on.." myResponse = Inet1.OpenURL(myURLString) 'This would fill "myResponse" with months of historical price data :-) ================…
Last reply by Logicworks, -
- 0 replies
- 841 views
I'm trying to migrate an access db someone else did which has zero key contraints,which has resulted in the db having orders for a customer that doesn't exist, to sql. Is their anyway to setup a dts package that will ignore key violation records but import the good ones.
Last reply by barski, -
- 1 reply
- 686 views
Ok here is the deal, I have created a linkbutton and when i click on it it must do a mailto:something. This is working fine but when i do it i only want it to display the outlook thing where you can write the email and still on the same webpage and not a blankpage with in the adresse = mailto:bob@yyy.com
Last reply by eramgarden, -
- 4 replies
- 1.9k views
Is There a way to play a movie directly from memory?? (for ex. load a movie from resource files in a byte array and then PLAY from byte array, or memorystream)??? Thanks Lorenzo
Last reply by Mykre, -
-
- Moderators
- 2 replies
- 1.4k views
Hello: I have a class where I�m using session variables, notwithstanding when I compile Project it�s sending me this error: �Name �session� doesn�t exist in class or namespace �WUC_CreDes.Class1��. Does it mean that it is not permitted to me using session variables into a class? This is my code: using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace WUC_CreDes { public class Class1 { public static bool No_PostBack() { Session["par1"] = ""; …
Last reply by see07, -
-
Could someone please tell me how this works? msgbox(Asc("A") Xor 50) 'This returns 115 I thought that the logic for Xor was: True+False=True False+False=False False+True=True True+True=False How on earth does it act like a + sign? Thanks
Last reply by thenerd, -
- 2 replies
- 1.7k views
Hi all, I have been trying to use SendMessage to determine no. of characters in each line within a textbox. API Declaration Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As System.IntPtr, ByVal wMsg As Long, ByVal wParam As Int32, ByVal lParam As Object) As Long Private Declare Function SendMessageStr Lib "user32" Alias "SendMessageA" (ByVal hwnd As System.IntPtr, ByVal wMsg As Long, ByVal wParam As Int32, ByRef lParam As String) As Long Private Const EM_GETLINE As Int32 = &HC4 Private Const EM_GETLINECOUNT As Int32 = &HBA Private Const EM_LINEINDEX As Int32 = &HBB Private Const EM_LINE…
Last reply by coldfusion244, -
- 1 reply
- 1k views
My hosting situation, points all my domains and alais to ONE directory. For example; http://www.FOODEATING.net http://www.CARREVIEWS.com BOTH point to the same directory. How can I determine what domain the user got to my application? I would like my application to re/direct it to another directory/html file.
Last reply by kahlua001, -
-
- *Experts*
- 2 replies
- 872 views
Hi, The following code is to find the record in the database, I have a question to ask that, this function will do the sorting before find the record, the problem is I want to keep the order as it shows in database. is it possible to find the record without sorting?? Public Function SearchUserName(ByVal test3 As String, ByVal coltosearch As String) As Integer If Not myds Is Nothing Then If (myds.Tables.Count > 0) Then myds.Tables("Staff").DefaultView.Sort = "FirstName" Return myds.Tables("Staff").DefaultView.Find(test3) Else Return -1 End If Else Return -1…
Last reply by johansec, -
-
- 0 replies
- 1k views
I used the following code, taken of the code guru site which in turn took it off the msdn.. It's purpose is to provide you with the icon any particular file type is associated with. [structLayout(LayoutKind.Sequential)] public struct SHFILEINFO { public IntPtr hIcon; public IntPtr iIcon; public uint dwAttributes; [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)] public string szDisplayName; [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 80)] public string szTypeName; }; class Win32 { public const uint SHGFI_ICON = 0x100; public const uint SHGFI_LARGEICON = 0x0; // 'Large icon public const uint SHGFI_SMALLICON = 0x1; // 'Small icon [DllImport(…
Last reply by JCDenton, -
- 0 replies
- 524 views
This is old DOS and Borland C 3.1 stuff, but there are no decent boards for things like this. Maybe some of you more experienced programmers (aka Old Timers?) can lend a hand for me. Basically, I need to create a routine that allows me to write and update values on a flash-disk that is being used as our hard drive that runs on ROM-DOS v6.22 (ROM-DOS is almost identical to MS-DOS, but most of the extra features have been reduced to allow it to easily fit into Flash media such as we use). We are programming in Borland C 3.1, and the included fopen() and fprintf() do not work for our purposes because they call on DOS functions. Our programs run in DOS Protected Mode (D…
Last reply by joe_pool_is,
-
Who's Online 0 Members, 0 Anonymous, 76 Guests (See full list)
- There are no registered users currently online