Topics
-
Have built a control with label, checkbox and multi select listbox as child controls. When control is rendered if the bgcolor of the listbox is set, either by a cssclass which I have set as a property or by setting the backcolor in code, the colour bleeds from the bottom of the control onto the page by a few pixels. The HTML source is: <style>SELECT.lists { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 11px; MARGIN-BOTTOM: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; HEIGHT: 100px; BACKGROUND-COLOR: #edeaea } </style> <span id="LkpMulti"><span id="LkpMulti_lblText">Non-Equality</span><input id="LkpMulti_chkNonEqu…
Last reply by soulboy1968, -
-
- *Experts*
- 10 replies
- 1.4k views
Is there a way to find/match non-primarykey records in two different tables? problem: TableA - contains records ('John', 'Dhough', ' ') TableB - contains same records as TableA ('John', 'Dhough', 'D') both tables do not have primary keys when a transaction is made a record from TableA is replicated into TableB, however it has a filed marked 'D', matching record from TableB must be then deleted. Major problem: as the rows are identical (except 'D'), no primary key, but there could be up to 25 SAME, IDENTIC records in TableB: 1. 'John', 'Dhough', ' ' 2. 'John', 'Dhough', ' ' 3. 'John', 'Dhough', ' ' So, which one to delete? I've been looking at some RI…
Last reply by IxiRancid, -
-
-
- Administrators
- *Experts*
- 7 replies
- 1.2k views
Is there a way that I can use the same variable more than once in a private sub?? Is there a delete variable command so this can be done??? e.g. dim simon as string = "hello" msgbox(simon) simon.delete() dim simon as string = "bye" msgbox(simon) Thanks Simon
Last reply by Nerseus, -
-
-
- *Experts*
- 4 replies
- 2.1k views
Hi Need to select multiple columns in a row into a single variable, example - persons address: line 1, line 2, line3, town, county, country as myAddress. Any suggestions? Mike55.
Last reply by Nerseus, -
-
-
- Administrators
- 5 replies
- 633 views
I have created an ASP.Net app and moved ftped the pages up to my web hosting company's server and when I view the aspx page, the html part of the code is correct. But the calendar control and textfields do not appear. Yet when I run on development pc, everything looks fine. What am I missing?? Appreciate any help.
Last reply by jccorner, -
-
- 5 replies
- 1.2k views
Because I am still kinda learning, I used a guide to help me make this program and I modified it to my personal needs. Everything that I have coded works except that when the user hits the edit button, they can edit the fields, and it appears to save when they click save, but it won't save the new information. Also, when I hit the "create new" button, it uses the data from the original entry that I put in. this is the save button code: Private Sub Save() '[update] Try Me.BindingContext(DataSet11, _ "information").EndCurrentEdit() odaContacts.Update(DataSet11, _ "information") Catch eSave As Syst…
Last reply by matt09524, -
-
- Administrators
- *Experts*
- 4 replies
- 818 views
I have to write a .net windows app that will basically function pretty much as a cheap download manager...i have to embed some links into the program itself and feed them to the user so that he can download them...my main concern for doing this is that I don't want users scrolling down my site and just plugging all the links into download managers...sitting back, while my site cringes in excruciating pain...this way i can feed it to them one link at a time, preserving the bandwidth, and at the same time hideing the links so that they will not be able to manually enter them into download accelerators. I don't really know how to handle the connection to the web site...…
Last reply by ombun2, -
-
-
- Administrators
- 3 replies
- 774 views
The previous developer used MS Frontpage 2003 to create this ASP website. He included in every page the strings to send data back and forth to SQL Server 2000. I am now creating some pages using Visual Studio 2005 Beta. I have a problem with the asp.net strings and webconfig. Does anyone know how to fix this problem without redoing any of the code in the pre-existing pages? There seems to be a conflict. When I have the script in webconfig for the VS pages to connect to SQL, the previous pages, made with Frontpage 2003, will not connect. When the script is not in, of course the VS pages will not work. :confused: :o
Last reply by bri189a, -
-
- 2 replies
- 817 views
Hi, I have an error page for my site, this page simple displays the error message and it contains a back button that when clicked should redirect the user back to the previous page. The get this back button operational, i have tried the following: 'Add the following to the page load event. Me.btnBack.Attributes.Add("onClick", "javascript:history.go(-1);") and 'Add the following to the page load event. If Not Page.IsPostBack Then ViewState("ReferrerUrl") = Request.UrlReferrer.ToString() End If and add the following to the click event. Response.Redirect(ViewState("ReferrerUrl").ToString()) None seem to work, any suggestions on what to do? Mike55
Last reply by bri189a, -
- 11 replies
- 4.4k views
How do I do this I want to add a progress Bar to my app and I want it to show the progress of an event that is triggered..... how would this be done? NOTE never done a progress bar before wouldnt even know where to start vbMarkO
Last reply by mskeel, -
svg and vb
by met- 2 replies
- 1.1k views
Hello, how can I view and edit a SVG file in vb? thanks
Last reply by Nate Bross, -
-
- Leaders
- 4 replies
- 15.6k views
Dear all, I have a slight problem. I want to make the background of a picturebox transparent. This because I show icons in this picturebox and there is an image underneath. So in case there is an icon with transparent things in it I want to see the background through it, and not a grey "box". How is this possible ? When setting the .backcolor = Transparent, it doesn't work. Also during runtime with the .fromargb it doesn't work. Problem is that I need to click on this icon so it needs to be a clickable component. I also tried to use SetStyle(ControlStyles.SupportsTransparentBackColor, True) but this is also not working. Who can help me please ? Thanks in adva…
Last reply by Nate Bross, -
-
- 4 replies
- 2.2k views
I have a situation where I need to determine if there are spaces within a textbox and if so produce an error, but I am unsure how to do this in vb.net?? Can anyone help?? Thanks Simon
Last reply by Nate Bross, -
-
- Leaders
- 3 replies
- 796 views
Ok, subject line couldnt put all what I am needing or trying to do... The Find method with the RTB is to slow...... What would be a faster way of searching for a Phrase (which is the string entered in TextBox by user) then once the string is located I would like it to change its color to Red Then I would like the line the string is in to come to the top of the RTB NOTE: I dont want to clear the RTB just would like the scroll position to move so that the line containing the search string is located at the top of the RTB or near the top. Hope I dont confuse things by adding this but just another note should there be 2 or more occurances of the str…
Last reply by vbMarkO, -
-
- 2 replies
- 767 views
Heres my code I am having to Click the button over and over until the variable myInt > UBound(myChap) how can I make it so it iterates through until myINt is greater than UBound(myChap) Public myInt As Integer Public myChap() As String Private Sub cleanSweep() Dim strText As String strText = "1:1: Line of Text:" & vbCrLf & "1:2: Line of Text:" & vbCrLf & "1:3: Line: of Text" _ & vbCrLf & "2:1: Line of Text" & vbCrLf & "2:2: Line of: Text" & vbCrLf & "2:3: Line of Text:" & vbCrLf & "2:4 Line of Text" Dim myArr() As String Dim strChap As String myArr = Split(s…
Last reply by vbMarkO, -
- 5 replies
- 2k views
I have a form with a datagrid on it that allows users to view details of the transactions listed in the grid. Right now, it hyperlinks to an existing page (I set the target="_blank" so it opens a new window) which shows the desired records.I am wondering if there is a way to make the new window essentially a popup window or in some way control its size?
Last reply by mike55, -
-
- *Experts*
- 3 replies
- 1k views
I have a fairly standard db application which uses dataadapters to populate datasets from an Access database. I set up the dataadapters using the wizard, so the delete, insert, and update commands were all created automatically. I have a few users now who need to be able to view the database, but are not permitted to make changes. I figured if I just gave them read only access to the MDB file, everything would be fine, but now they cannot run the program. They get an error stating that the file is either opened exclusively by someone else ( it isn't ) or they do not have permission. My assumption is that, since the dataadapters are set up to handle deletions, updates, …
Last reply by FZelle, -
-
-
- *Experts*
- 3 replies
- 1.1k views
I don't know if this is possible, but what I want to have is a stored procedure that I can pass the name of the column that I wish to be added to my table from my vb.net application. example: from my vb.net app I would call the stored procedure and pass 'column1' to it and then within the stored procedure it would alter the table and add a new column called 'column1' to it. So the stored procedure would look something like this: CREATE PROCEDURE [dbo].[spAddColumn] @columnName as varChar(50) AS ALTER TABLE myTbl ADD @columnName varChar(50) GO The above SQL statement gives me an error: Error 170: Line 3: Incorrect syntax near '@columnName'. Is this possi…
Last reply by lidds, -
-
-
- Administrators
- 2 replies
- 2.1k views
Hi Guys, Is there any way to implement the logic below Check whether Test.exe is running or not. If its running, dont do anything. If it is not running, launch it Thank you very much
Last reply by a1jit, -
-
-
- Administrators
- 7 replies
- 2.1k views
May I know is there any way I can know how many users access my ASP.NET application, so I can limit it?
Last reply by PlausiblyDamp, -
-
Who's Online 0 Members, 0 Anonymous, 49 Guests (See full list)
- There are no registered users currently online