Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
~29.5K People Reached
Favorite Tags
Member Avatar for edek

Hi, I have [ICODE]DataTable[/ICODE]'s column that is a source of rows for combo box - it loads rows like it should. But, binding [ICODE]ComboBox.SelectedValue[/ICODE] does nothing. I think that this is some problem with comparison between the value provided by [ICODE]BindingSource[/ICODE] and the values from [ICODE]ComboBox[/ICODE]. [ICODE]BindingSource.Position[/ICODE] iterates through collumn …

Member Avatar for vukanac
0
3K
Member Avatar for karthikcyano

Hi, I had 2 Template columns in a Datagrid, each column contains a Textbox. The user can enter the values and it should be saved. I wanna add a new row if a user clicks add new button. After Entering the values in the textboxes (inside the Datagrid) if he …

Member Avatar for navyjax2
0
3K
Member Avatar for edek

Is it possible to convert [ICODE]std::FILE*[/ICODE] to [ICODE]iostream[/ICODE]?

Member Avatar for Freaky_Chris
0
395
Member Avatar for edek

I have network with one router and two computers connected to it (one through wireless connection). I can create 'Remote Desktop Connection' from one computer to other but connection is broken after a few seconds. Ideas?

Member Avatar for zelkea
-1
2K
Member Avatar for edek

Hi, I have a custom DataGridViewColumn which uses custom editing control to edit values of cells. The editing control shows up in a edited cell when I want to edit a cell :), and that works just as it should. The problem is that my editing control is much bigger …

Member Avatar for edek
0
1K
Member Avatar for edek

Hi, I'm not sure if this is the right place to post it, but... I have VMware Player (newest version) installed on linux host, the guest is Windows XP. When I switch to 'Unity Mode' something like this appears (link to image): [URL="http://img232.imageshack.us/img232/603/vmwareunitylinux.png"]http://img232.imageshack.us/img232/603/vmwareunitylinux.png[/URL] I can click it - nothing happens. …

0
89
Member Avatar for edek

Is it possible to use custom type converter to convert types like that: [CODE=CSharp] class MyTypeConverter: TypeConverter { //... all the 'converting' methods here } [TypeConverter(typeof(MyTypeConverter))] class Type1 {} class Type2 {} Type2 object2; //and here, is this possible? (and how to make it happen) Type1 object1 = object2; //or …

Member Avatar for edek
0
182
Member Avatar for edek

Hi, Is it somehow possible to determine the TableAdapter related to the given table?? I have DataSet with one strong-typed DataTable and related TableAdapter. Please, don't ask why :) but I need to determine related TableAdapter of given DataTable or DataTable of given TableAdapter having only one of them. Possible?? …

Member Avatar for edek
0
92
Member Avatar for edek

The code is: [CODE=JAVASCRIPT] var func = function(){ this.a(){ //here 'this' refers to 'func' }; var b = function(){ //here 'this' refers to 'window' }; }; [/CODE] This is kind of beginner question, but are there any simple rules that I can follow to determine what context I'm currently in? …

Member Avatar for ~s.o.s~
0
75
Member Avatar for edek

I have a reference to some string. I need to copy (clone) that string. This is what I tried [CODE=PHP] $newString = $refToString; //this just copies the ref - no new memory allocated $newString = clone $refToString; //this creates "__clone method called on non-object" error [/CODE] If anyone knows how …

Member Avatar for martin5211
0
9K
Member Avatar for edek

Please somebody help me out and explain the difference between: [CODE=JAVASCRIPT] for(var i in temp){ this["get" + i] = function(){return i;} } [/CODE] and [CODE=JAVASCRIPT] for(var i in temp){ (function(){ this["get" + i] = function(){return i;} })(); } [/CODE] Thanks in adv

Member Avatar for ~s.o.s~
0
70
Member Avatar for edek

Hi! How do I debug design-time error - it just shows up when I view my page in 'Design' mode, but I don't know where in the code it comes from. How do I check it? Please, click to see the error: [URL="http://i42.photobucket.com/albums/e321/watherby/daniweb/Screenshot.png"]http://i42.photobucket.com/albums/e321/watherby/daniweb/Screenshot.png[/URL] Thanks

0
94
Member Avatar for edek

Is there any way to know that there was an 'insert' into SQL Server's database without checking it like every minute (in C# / VB.NET)? Thanks in advance.

0
67
Member Avatar for edek

Hi! Is there any way I can save a database as an SQL file? Or at least save schema if saving data is not possible. Thanks in adv.

Member Avatar for AntonioGK
0
148
Member Avatar for edek

Hi, I need to get event handler's argument in Firefox3 - but it does not have any global 'event' variable like IE nor it passes an argument to the handler. How do I get this argument then??? [CODE=JAVASCRIPT] function doSomething(e) { if(!e) var e = event; //for IE alert(e); //It …

Member Avatar for Troy III
0
101
Member Avatar for edek

Hi, I've created 'Windows Control Library' project in VS2005, created one control in this project which inherits from UserControl class like this: [CODE=CSHARP] class MyControl : UserControl { MyControl(){_myproperty = 0;} int _myproperty; int MyProperty { get { return _myproperty;} set { _myproperty = value} } } [/CODE] So, now, …

Member Avatar for Ken Sharpe
0
74
Member Avatar for edek

Hi, I have one application with 'normal' user privileges. This application runs another one which has 4755 permissions. Does this mean that the second application will run as root??? I believe not... The second application tries to setuid(0) and fails. How to tackle this problem so I can run second …

0
70
Member Avatar for edek

I need to check if registry value exists from within .bat ('batch') file, and it seem to be quite hard to do - not many ideas on it I have found. Maybe you can help? I believe I should use the reg.exe programm to do this but what syntax should …

Member Avatar for Keviel
0
5K
Member Avatar for edek

Hi, 1) Is it better to create one dataset for the whole project than many smaller (like one for each form)? 2) If I have 2 datasets, both has tableadapters that connects to the same data. Both table adapters load data to tables. Now, data in one of those tables …

Member Avatar for edek
0
194
Member Avatar for edek

Hi, What I have: 1) Table in SQL Server 2005 2) Table contains column of xml datatype 3) The column has Xml Schema defined I need to do three things (in C#): 4) Get the Xml Schema of the collumn 5) Create dataset based on that xml schema 6) Load …

-1
62
Member Avatar for edek

Hi, I need to create list of links, like: Link1 Link2 Link3 ... which could be dynamically created during runtime. Is there any standard .Net control that can contain LinkLabel objects so that I can easily add them and remove?

Member Avatar for Ramy Mahrous
0
92
Member Avatar for edek

Hi, I have two datatables: Projects and Employees. [ICODE]Projects[/ICODE]: ID NAME EMPLOYEES [ICODE]Employees[/ICODE]: ID NAME I need to connect one project with multiple employees. Do I need to dynamically create separate table '[ICODE]RelatedEmployees_<unique number here>[/ICODE]' and store this table's name in field [ICODE]EMPLOYEES[/ICODE] of table [ICODE]Projects[/ICODE] to achieve this??? Please …

Member Avatar for JerryShaw
0
68
Member Avatar for edek

Hi, I'm looking for the answer ... to following question: How it all works, I mean how my code, even assembler code or opcode, gets executed? I don't want to read about 'moving pointer on the call stack' or 'processor does one thing or other' or anything like that. I'd …

Member Avatar for azwiz
0
118
Member Avatar for edek

[CODE=C]FILE* f = NULL; fclose(f);[/CODE] Terminates with: 'No source available for "fclose@@GLIBC_2.1() " ' [CODE=C]FILE* f = NULL; ftell(f);[/CODE] Terminates with: 'No source available for "ftell()"' Why those functions does not return error value but terminate whole program? How can I safely tell if file is opened in C and …

Member Avatar for edek
0
453
Member Avatar for edek

Is there any difference between C and C++ pipes implementation? Is there any C++ library that makes using pipes easier? I ask those questions because there are many 'wrapper' classes in C++ that wraps C (like string, vector etc.) Is there anything that 'wraps' pipes? <Thanks>

Member Avatar for Nick Evan
0
207
Member Avatar for edek

I am using wireless connection ad-hoc. card 1 is on linux, card 2 on windows xp. No encryption. The connection keeps connecting/disconnecting periodically (period = about 2sec.) On LINUX: iwconfig gives: [CODE]wlan0 IEEE 802.11g ESSID:"local" Nickname:"FC8" Mode:Ad-Hoc Frequency:2.412 GHz Cell: 02:E0:01:22:D1:62 Bit Rate=11 Mb/s Tx-Power:29 dBm Sensitivity=0/3 RTS thr:off Fragment …

Member Avatar for edek
0
136
Member Avatar for edek

The program as it is generates: [ICODE]>Parent1 >Parent2 >In Child >Parent3 Successfull...[/ICODE] If I remove the comment from line 31 - just below "//THE PROBLEM:" so the "gets(buff);" is executed it gives: [ICODE]>Parent1 >Parent2[/ICODE] and... waits (both parent and child processes running - both waiting). I would like to be …

Member Avatar for vijayan121
0
257
Member Avatar for edek

[CODE=C]int test[2]; pipe(test); FILE *to, *from; if ((to = fdopen(test[1], "w")) == NULL) return 1; //error: could not create stream if ((from = fdopen(test[0], "r")) == NULL) return 1; //error: could not create stream fputs("test text", to); char testBuff[5]; fgets(testBuff, 5, from); puts(testBuff); //This should display 'test' in console - …

0
54
Member Avatar for edek

The connections are configured like: [ICODE]Linux:[/ICODE] eth0 Link encap:Ethernet HWaddr 00:1B:FC:6C:49:8C inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:218 Base address:0x6000 [ICODE]Windows:[/ICODE] Ethernet adapter Local Area …

0
55
Member Avatar for edek

I have (in main()) something like: [CODE=C]int toChild[2], fromChild[2]; pid_t pid; //Creating pipes: if(pipe(toChild) != 0){ return 1; } if(pipe(fromChild) != 0){ return 1; } //Forking: if((pid = fork()) == -1) return 1; if(pid == 0) {/* CHILD */ close(toChild[1]); close(fromChild[0]); //create streams: (they are not used in this example) …

Member Avatar for edek
0
107