Topics
-
-
- Administrators
- 3 replies
- 2.2k views
Anyone has a code for validating email address (offline), I mean, to validate that the user type a good format (user@host.ext) in email txtbox? VB talking of course.
Last reply by PlausiblyDamp, -
-
- 3 replies
- 1k views
I'm trying to do Windows Form, and I have to different inputs in the same form, that needs to be made with radio buttons. Both of them are booleans questions, so they have to have pair of radios by questions (()"yes" ()"no"), and of course if you select one the other one will deselect automatically (that works perfectly since it it automatically setted up). The problem is that the second question depends on the first question's radio buttons, I mean if in the first question I selected any answer (yes or no), when I try to select yes or no in the second question it deselect the answer in the first question, how do I set this up so the first pair of radio become independent…
Last reply by phreaky, -
- 6 replies
- 1.8k views
I'm using a Repeater to display the news articles on my site as per the following code: <%@ Page Language="C#" Debug="True" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.OleDb" %> <%@ Register TagPrefix="BOW" TagName="PageHeader" src="siteheader.ascx" %> <%@ Register TagPrefix="BOW" TagName="PageFooter" src="sitefooter.ascx" %> <script runat="server"> public void Page_Load (Object Sender, EventArgs e) { string qrySiteNews = "SELECT SN.NewsID, SN.Headline, M.Handle AS Author, SN.PostDateTime, SN.NewsText, SN.IconID FROM SiteNews AS SN INNER JOIN…
Last reply by fizzled, -
-
- Leaders
- Administrators
- 12 replies
- 2.7k views
I was looking at the Microsoft.VisualBasic assembly with a reflection tool, and was surprised to see that nearly everything it contained simply wrapped another .Net function or class. Microsoft's take is that Microsoft.VisualBasic is part of the Visual Basic language, and Microsoft.VisualBasic.Compatibility is the for VB6 compatability, but looking through the functions, you notice that Hex() simply wraps the .ToString method of integral data types, and the Len function just returns the String.Length property. Even the Collection class seems to basically wrap the ArrayList class. 'Why? Public Shared Function Hex(ByVal Number As Integer) As String Return Numbe…
Last reply by snarfblam, -
-
- 0 replies
- 3.3k views
this is my code: System.Web.Mail.MailMessage message2 = new System.Web.Mail.MailMessage(); message2.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", 1); message2.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "my [email]email@gmail.com[/email]"); message2.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "my password"); message2.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "587"); message2.From = "myemail@gmail.com"; message2.To = "someone@someplace.com"; message2.Subject = "Message Subject"; message2.Body = "Message Body"; me…
Last reply by decrypt, -
- 0 replies
- 848 views
I need to generate some images on the fly in my ASP.net pages. Currently the only way I think I can do this is to have a page dedicated to generating image with the content type image/jpeg and then saving the image to the outputstream of the response. The in my main page pass this page as the src of an Img tag. I have 2 queries: 1. Is this the only/best way of displaying a dynamic image on a page? 2. What's the best way of getting data from the page to the image? If it was a small amount of data I could just put it in the querystring of the src url of the img tag but it's likely to be an array of variable length. I was therfore thinking of using the cache to save t…
Last reply by mark007, -
- 14 replies
- 1.4k views
How would I restore a program that is in the system tray to normal from another program. Could I do this by using the handle of this program and if so how would I get the handle. Any help greatly appreciated. Thankyou
Last reply by bjay55, -
- 0 replies
- 2k views
Hi All, I have a question that how do I save a graph on MSchart control to a .tiff file. I am using VB.net 2003. Preferably 1000 dpi, 1 bit monochrome with no compression, PC byte order. Please point me to right direction or any suggestion or comments are welcome. Thanks in advanced. Shazaduh
Last reply by shazaduh, -
- 3 replies
- 588 views
i got a toolbar with a button on it which got a dropdownmenu i put a contextmenu on that dropdownmenu, well its working but i want to know when i click on an item of that dropdownmenu where is the event for that how do i do it? on my dropdownmenu there are four websites i got a webbrowser on my form and if i click on a website of that dropdownmenu i want my webbrowser to navigate to that website! can anyone help me? i really need it its pretty urgent, pls thanks in advance
Last reply by techmanbd, -
-
- Moderators
- 1 reply
- 1.3k views
Does anyone know if there is any restrictions or local policies that could prevent my Visual Basic Dot Net application from running properly? My app runs perfectly on my Windows XP computer and all the app does is create a .txt file and writes some stuff to it. Please Help.
Last reply by Robby, -
-
- 1 reply
- 1k views
Is there a way to make the WriteXml method write the namespace correctly? In the Xml files I'm getting, it looks like this: ... xmlns="http://te... but it SHOULD look more like this: ... xmlns:ns="http://te... Is there a way to edit the xml file (from code) to correct this?
Last reply by Machaira, -
- 1 reply
- 1.7k views
Hi All, Objective : To upload an mdb file to I am developing an application that has both asp & aspx pages. asp has file upload control. User selects file on asp page, clicks Submit button on asp page and user is redirected to aspx page. Now i want to save the Mdb on the webserver. How the aspx will do this.
Last reply by Mister E, -
-
- Administrators
- 17 replies
- 1.6k views
I am trying to use CreateInstance and I keep getting an <undefined value> returned from CreateInstance. It doesn't through an exception though and I thought if it didn't find the interface that it was supposed to do that. So I guess my question is how do I make sure that I am passing createInstance the correct interface name. public object CreateInstance(string dllname,string strInterface) { Assembly objDLL; object objPlugin; try { //load dll //C:\Projects\PrintRoutineXP\bin\PrintRoutineXP.dll objDLL = Assembly.LoadFrom(dllname); //create and return class instance objPlugin = objDLL.CreateInstance(strInterface); return objPlugin; } catch(Exception…
Last reply by qex, -
-
Is it possible to have a ListView looking like a comboBox with the dropdown menu ??
Last reply by snarfblam, -
- 1 reply
- 700 views
Hello i am able to do all the Data Binding to access databases via the Wizards. But how do i do it without a wizard. I've read so many times that it is better to hand code the connections and buttons without using the basic data binding methods. Can someone point me to a tutorial or even give me a overview of hand coding the connections? :D Thanks- Mike
Last reply by Machaira, -
- 2 replies
- 745 views
I'm attempting to have a bit of javascript that counts how many checkboxes are ticked and displays a simple alert when the user goes over the specified maximum. That part is simple. It gets slightly more complicated in that there are several lists of items with different maximums on each list (eg select 2 items from List A and select 5 items from List B etc). So the javascript simply calls the functions with "CountChecked(this, maxCountAllowed, GroupID)" and it works out what it's doing. Still simple. The problem is that all the data comes from a database and is completely variable. The asp.net checkbox control is letting me have a "onClick" command (although it…
Last reply by bizzydint, -
- 2 replies
- 1.1k views
Hi, is there a way to send some info similar to NetSend, to multiple users so that they can't miss this "box". It would be used in a closed network environment. In a scenario like this: someone needs five users from one office to close their Access app, and they need to do it immediately!!
Last reply by IxiRancid, -
-
- Moderators
- 1 reply
- 1.8k views
I am dynamically creating textboxes and for each textbox a custom validator control. How do I link the validator control to the textbox so it can be Validated. Thanks
Last reply by Robby, -
-
-
- Moderators
- 1 reply
- 680 views
I am just bearly learning asp.net and need some help I have created a simple form that inserts rows into an sql database. The Problem is when ever I hit the refresh button it also inserts a row. Is there an easy fix for this.
Last reply by Robby, -
-
-
- Administrators
- 4 replies
- 1.2k views
I have just completed development of a program for a windows CE device. cleverly, i used visual studio.NET, which isn't supported by CE :o !! Apparently Visual Basic 4.0 will allow me to deploy to my Husky fex 21, but i can't seem to get a hold of a copy anywhere! if anybody knows if a) this is the correct development software for me to use? :confused: and b) if so, where can i get it from? i would be much obliged!! many thanks, tomos
Last reply by progload, -
-
Who's Online 0 Members, 0 Anonymous, 74 Guests (See full list)
- There are no registered users currently online