Topics
-
-
- 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, -
-
-
- Administrators
- 3 replies
- 4.7k views
I created a C++ class library, and I try to use malloc() and memcpy(), but I got the linkage error. I used the following line of code: unsigned char* newBuffer = (unsigned char*)malloc(size); ...... And I got the following linkage errors: Class error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3*****FYAXPAX@Z) Class error LNK2001: unresolved external symbol "void * __cdecl malloc(unsigned int)" (?malloc@*****J0YAPAXI@Z) Class error LNK2001: unresolved external symbol "void * __cdecl memcpy(void *,void const *,unsigned int)" (?memcpy@*****J0YAPAXPAXPBXI@Z) Does anyone know what went wrong? I have include 'malloc.h' head…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 2.7k views
I read other posts and they all contain wonderfully stylized c# samples. mine always displays massively spaced out and no colours: - [csharp] public class uglyFormatting { public void uglyFormatting { throw new Exception("UGLY"); } } [/csharp] i use [charp] and [/csharp ] tags is that wrong?
Last reply by DannyT, -
-
- 9 replies
- 1.4k views
Hi All! I'm trying to create nice report in a webform from some data i need shown to the user etc.: XXXXXXX XXXXXXX ----------------------------- XXXXXXX XXXXX XXXXX ----------------------------- ----------------------------- XXXX XXXXX THANKS ALOT!!!!
Last reply by mark007, -
-
- *Experts*
- 1 reply
- 1.2k views
On my main form i want it do do something when one of my other forms closes, my main form is called frmMain and my other form is called frmLookup so is there a code that i can put on my main form to say something like when frmlookup closes do the following and it would do what i need it to do.
Last reply by DiverDan, -
-
- 0 replies
- 721 views
Hi everyone, Is it possible to filter tags in intellisense in Asp.net webform. ie., i want to display only asp tags in intellisense. Any suggestions please.
Last reply by Helvis, -
- 2 replies
- 1k views
I am declaring a new form, that is like a popup to the original form. That form has tooltips. So, on my main form, I'm calling "showdialog" it pops up temporarily, then I hit "close", and it returns me back to my main form. When I do "showdialog" the 2nd time, the tool-tips do not show - for some reason. Does anyone know why this happens?
Last reply by techmanbd, -
- 1 reply
- 1.1k views
I have a listview that I populate with file names from a folder that is being watched (using FileSystemWatcher via "AddHandler FileWatch.Created, AddressOf FileWatchNewFile"). When a new file is created in the folder, it is added to the listview from the FileWatchNewFile function. Processing each file could take up to a minute or two, so the listview could contain dozens of entries that are waiting to be processed. Once a file is processed, it is flagged/removed. It's possible that all the files could be processed so that the listview becomes empty. My question is this: What is the best way to watch the listview in order to process the entries (filenames) as they…
Last reply by mark007, -
-
- *Experts*
- 7 replies
- 1.1k views
There are 2 pieces of rope. The length and width of the two pieces are not neccessarily the same. Both pieces are inconsistent in width (ex. the middle may be thicker than the ends). Each piece of rope take exactly 1 hour to burn. By burning both pieces of rope, how do you measure 45 minutes of time? Hint: Since the ropes are of inconsistent width, burning half of a rope does not mean that 1/2 hour has passed.
Last reply by thenerd, -
-
-
- Leaders
- 8 replies
- 1.4k views
Cookies are riding on the first solution to this: ∫(12x+8)(3x^2+4x) It's been about 20 years since I've done anything like this and I've pretty much forgotten all my advanced math. I'd be lucky to solve for x. :)
Last reply by thenerd, -
-
- 3 replies
- 964 views
Hi Guys, Have you guys seen any sample tutorial or example that teaches us how to do the following appilication 1) User click export button 2) Then the asp application gets all records from database (server side) 3) it opens excel at clients side and start to write to it... How can i accomplish this..Aany help will be greatly appreciated.. Thank you very very much..
Last reply by a1jit, -
-
- *Experts*
- 4 replies
- 794 views
I was wondering if anyone could point me to either some on-line resources or provide book title(s) that have templates or examples of ways to document the classes in a program? I realize that there is no one 'supreme' template that will provide everything I need and want, but a template gives me a good place to start my documentation as I work on the project. I have the Software Requirements book by Karl Wiegers which deals with documenting the requirements and such, and there are very good templates with it that I have used and modified somewhat to fit my needs. I'm not at the point where I'm starting to lay out the classes, methods, and properties and would like to …
Last reply by irasmith, -
-
- 1 reply
- 3.9k views
i am trying to clear all the textboxes contained on all tabpages of a tabcontrol, which is enclosed inside a groupbox. what i have is probably very ugly (plus it doesn't work), so please help..... (the line in red wouldn't compile) Dim ctrl As Control Dim ctrl1 As Control Dim tBox As TextBox Dim tBox1 As TextBox Dim tbPage As TabPage For Each ctrl In GroupBox2.Controls If TypeOf ctrl Is TextBox Then tBox = DirectCast(ctrl, TextBox) tBox.Clear() ElseIf ctrl Is TabControl1 Then Dim i As Integer For i = 0 To (Me.TabControl1.TabPages.Count - 1) [color=Red] For Each ctrl1 In Me.TabControl1.TabPages.Item(i)[/color] …
Last reply by VagabondSW, -
-
- Administrators
- 8 replies
- 1.4k views
I want to instantiate a new variable to the same type as another in c# E.g. public ArrayList createList(DataTable dt, DataEntity mytype) foreach (DataRow row in dt.Rows) { myEntity = new mytype.GetType(); // THIS DOESN'T WORK myEntity.Create(row); myCollection.Add(myEntity); } } I'm trying to intantiate myEntity based on the base class of mytype (which inherits DataEntity). Any suggestions mucho appreciated :S
Last reply by DannyT, -
-
- 1 reply
- 1.1k views
I have my datagrid working now, but I'm trying to add a dropdownlist with just a few items in it to my editable datagrid. I've searched online, and what I found seems very involved, is there an easy way?
Last reply by mark007, -
- 5 replies
- 1k views
Hey everyone: I have been writing software for a company for a couple of years now using VB6.0 (sorry) and C#. The software was designed to work on a local area network. However, the company has expanded and now owns multiple locations that want access to the main database (through my software). This was temporarily solved by using a VPN connection, but that has become horribly slow. So, my suggestion was to create a C# server program that handles all requests to the database (it is a MySQL database). I would open a single port and use port forwarding to allow access to this new program. The program would then look at the request, make sure it is valid, and …
Last reply by samsmithnz, -
- 1 reply
- 926 views
Every time you use one of the classes/interfaces from .NET ittself it shows such nice summaries :D But when you make your own classes, why doesnt it show them? Here is my problem shown with 2 screenshots: http://img225.imageshack.us/my.php?image=summary6bo.png How do I get my summary in that tooltip? Thanks for any help!
Last reply by mskeel, -
-
- Administrators
- 3 replies
- 1.2k views
Hi to all, i am implementing a c# application where i use mdi parents and childs do i can keep the forms within a another form. In the parent form i have a menu that opens the child forms. What i wanted is the mdi child to also have a menu of its own. I have put a menu there but it simply does not appear! so is it possible so do what i want? thx to all
Last reply by rfazendeiro, -
-
-
- Administrators
- *Experts*
- 14 replies
- 3.4k views
Is there a way to tell / force the Garbage Collection to do it's think and release all the stuff it's holding?
Last reply by JDYoder, -
-
-
- *Experts*
- 12 replies
- 1.8k views
So my OEM Norton A/V 2004 subscription just expired and they want US$35 to renew. As I contemplate giving them my money, it occurred to me - If I owned an Anti-Virus software company, how would utilize my developer workforce? 1% developing antivirus software - 99% developing virii ????? At any rate, it really pisses me off having to spend money on anti-virus software. Is there a consensus on the best for the price???
Last reply by Machaira, -
-
Who's Online 1 Member, 0 Anonymous, 56 Guests (See full list)