Topics
-
- 3 replies
- 1.3k views
Hi, I have been working with a pretty big project for a while. I started to build this solution using regulare windows project. Today I got the orders to make this into a windows service. anyway, I have been trying to make this work for a several of hours, but I cant figure out the problem. I managed to install the service, but it doesnt seem to response at all. This is one part of my code Protected Overrides Sub OnStart(ByVal args() As String) '**************************************************** '* Making sure the logfile is there. '**************************************************** If Not File.Exists("updates.txt") Th…
Last reply by manmeet, -
- 4 replies
- 3.3k views
I have no clue how to do any of the regex coding and ive heard its very difficult, but what i want to do seems like it shouldnt be too hard. heres what i need to do: i have my program save the source code for a webpage to a .txt file and then from that .txt file i need it to get quite a few different numbers and put them in labels. here is a section of the source code that is saved in the .txt file: <td><a href="hiscoreuser.cgi?username=lanc1988&category=0" class=c>Overall</a></td> <td align="right">90,376</td><td align="right"> 1,107 </td><td align="right"> 5,465,684 </td> ok.. now i need it to pic…
Last reply by Lanc1988, -
- 11 replies
- 4.7k views
I've one "master page" that loads a user control. This user control contains a grid with a database datasource. When I load o lot of data, the user has to wait with a blank page for an answer. I'd like to make my page more user friendly and show a message "please wait, loading...". So, I'd like to load first some kind of "wait.ascx" user control and than (when the data is ready to show) my main user control with the grid. Any ideas? Adam
Last reply by bri189a, -
- 0 replies
- 1.1k views
Hello I want to blend two textures with a custom mask. I have a mask, for example a black & white mask (also a texture) and two other textures. At the white pixels of the mask I want to see texture one and at the black pixels of the mask I want the texture 2. I think this is the formula: out = texture1 * mask + texture2 * (1 - mask) I tryed with the Lerp operation but it does not work. Thank you for help wima
Last reply by wima, -
-
- *Experts*
- 2 replies
- 1.7k views
Has anyone seen a c#.net control like the one that is on dell's website. Like its a plus sign, then when you click it, the sub items expand?
Last reply by a1jit, -
-
- 0 replies
- 846 views
My cookies will automatic expire when I using IE to access my application (using ASP.NET), but when I change to Firefox browser, it work fines... Even I set the privacy setting in IE to "Accept All Cookies", the problem still same. Anyone can help? Can refer to my previous post for ASP.NET cookies problem: http://www.xtremedotnettalk.com/showthread.php?t=93786
Last reply by bungpeng, -
- 2 replies
- 1.5k views
I have two tables in dataset: PhoneBill -phonenumber -cost -duration ..... and PhoneBook -phonenumber -surname_name All I want to do, is actually a RIGHT JOIN between tables on 'phonenumber field'. I Can Not Use SQL server or anything else, so let's try to do this on 'dataset level'. I want to join this tables. So in Datagrid I want to display: -phonenumber -surename_name (if exists in phonebook) -duration -cost .... 'I made a relation between tables in dataset ds.Relations.Add("PhoneBill_PhoneBook", ds.Tables("PhoneBill").Columns("phonenumber"), ds.Tables("phonebook").Columns("phonenumber"), False) 'the problem is, that I do not know ho…
Last reply by bri189a, -
- 4 replies
- 886 views
in a access database that has alot of people loging in to it and geting data will it be a problem to just access the data directly or should I use datasets and update the database with the oledb adapter?
Last reply by bri189a, -
- 2 replies
- 700 views
We replaced a dll in production (running on windows 2003) and it reset the application. I think that behavior is correct because anytime you replace a dll, it must read the changes on that first hit... Is there something in 2003 to contradict this (that replacing a dll WILL NOT restart the app??) Has anyone come across it otherwise?
Last reply by bri189a, -
- 4 replies
- 1.5k views
I am having a problem with multiple users on the pages. When one user logs out of the site, their connection to a particular record remains active and is picked up by another user going to that record. What is the best way to close all the connections and reset asp.net when a user leaves a record or logs out of the system? :confused: :confused: :confused: :confused: :(
Last reply by bri189a, -
-
- Administrators
- 11 replies
- 874 views
I have 20 check boxes in a form. and I have 20 textboxes in another form. now my requirement goes as follows. On clicking a button all the checkboxes should go checked or uncheked. All this should happen in one loop. The same requirement goes for clearing textboxes in next form. Suggestions are appreciated.
Last reply by mark007, -
-
- 1 reply
- 960 views
Background: I have created a base form in a class library. This base form contains a menu, an image list, and a toolbar. I set the Modifier properties for these items to Protected. Then, in a new project, and using the form designer, I created a new form derived from the base form by adding an inherited form, and selecting the base form. In this new project, I added a new menu item, an image to the image list, and a button to the toolbar, and a label to the derived form. Next, I built the project, saved the files, and closed the project. Issue: When I reopen the project, I found the following: (1) The new menu item did not appear (2) The new image was not …
Last reply by rustyd, -
- 10 replies
- 1.5k views
Hello again. It seems I only have problems...well, that's true My last one, from a aspx page the users clicks on a link and a new window opens containing a form. This form has some DropDownLists and some other controls, and I have to populate these lists. Some of them can (and should) be populated on Page Load, but some others depends on the value from some of the populated_on_load DropDownLists. This should not be a problem. I set the OnSelectedIndexChange event of the "prepopulated" list to wire the event to a sub, and from the sub, I populate the rest. Simple, but it is not working. And i don't know why. The code from the server side: public empleado as …
Last reply by Hyuga, -
- 0 replies
- 908 views
Okay, it was my brain freeze - always forget that VB.NET puts on default namespaces and if you specify a namespace, that namespace is actually on top of the default namespace.
Last reply by bri189a, -
- 3 replies
- 735 views
Does anyone know how to run the command prompt using vb.net. Like say, running the vbc using a code in the program. or do i need to run the command line or can i just run the compiler straight without using the command prompt. whats the process of running and app with vb.net code? thanks
Last reply by techmanbd, -
- 20 replies
- 2.2k views
Hi, I am making an ASP.NET web form for the first time, and I have a few questions: 1) How do you make global array variables? I know that you can make global variables such as: Application("end")=end in your Global.asax's Application_Start (..) and access it in ur Page_Load: Application("end")=false but for arrays, how do you declare it and call it? 2) How do you allow for the user to move an object on the page? (ex: if the user is allowed to move an icon around the page to wherever they would like)? Also, how would you restrict the user to only move horizontally (or vertically)? Thank you SO much in advance for any help. :)
Last reply by nima1985, -
- 2 replies
- 1.4k views
When I run the page, I get an "Object Expected" on line 16, which points to the asp:dropdownlist line in the HTML of the .aspx page. Here's the .js file: var keys; var timeStamp; timeStamp = new Date(); function dd_onkeypress(DropDownList1) { * var key = event.keyCode; * event.returnValue=false; *//a-z, A-Z, 0-9 * if ((key>=97 && key<=122) || (key>=65 && key<=90) || (key>=48 && key<=57)) { * ********key = String.fromCharCode(key); * ********var now = new Date(); * ********var diff = (now.getTime() - timeStamp.getTime()); * ********timeStamp = new Date(); * ********//1 seconds = 1000 milliseconds<BR>*** * *…
Last reply by bubberz, -
- 0 replies
- 1.8k views
Hi all. Im having a problem buildig a costumvalidator on web page with code behind in C#. the situation is: when you mark an option with a radio button you must indicate values in two Dropdownlist's.the html code of that block is: <asp:RadioButton id="rbProcesso" runat="server" GroupName="rbgDocumentoouProcesso" Text="ao processo" Checked="True"></asp:RadioButton></TD> <TD> <asp:Label id="lblClassificacao" runat="server"> Classificação </asp:Label></TD> <TD> <asp:DropDownList id="cbClasseProcesso" runat="server" Enabled="False"></asp:DropDownList></TD> <TD> <…
Last reply by PHaRGoTH, -
-
- Administrators
- 10 replies
- 1.3k views
My application use cookies when user login. All my page load will check if cookies not exist then redirect back to login page. The problem is, even user not logoff, the cookies will suddenly disappear and redirect user to login page. is it possible? :confused: :confused:
Last reply by bungpeng, -
-
-
- Moderators
- 6 replies
- 1.6k views
Hello all.... I have searched this forum and the 'net in general, and have not found a solution to my problem that works.... Here is the scenario: I have a datagrid on an ASPX page (vb codebehind), and I need to populate a dropdown list with a static list of items. These items do not exist in the SQL backend, but there are only five of them, so it seems simple to build a static array and bind the Datagrid to that array. Simple? Apparently not. It doesn't work. Here is what I have tried: Sub dgCurrentProposal_ItemDataBound(ByVal sender As Object, ByVal e As DataGridItemEventArgs) Handles dgCurrentProposal.ItemDataBound If e.Item.I…
Last reply by Hyuga, -
-
Who's Online 0 Members, 0 Anonymous, 62 Guests (See full list)
- There are no registered users currently online