all groups > c# > april 2007 > threads for sunday april 8
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
SHDocVw & MSHTML dom - Popup menu problem
Posted by SQACSharp at 4/8/2007 11:42:57 PM
I'm trying to automate an action in Internet Explorer.... I'm trying
to click an image that open a popup menu. The html code of the iimage
look like like <img blabla..OnClick="ShowMenu()"/>
I can click the image but my application is "sleeping" until I
manually click an item in the popup menu... more >>
Delegates and Events: Why we need the event keyword
Posted by muler at 4/8/2007 10:47:32 PM
Hi all,
I can't figure out why we need the 'event' keyword, because without
having it I can accomplish the same thing. So, why do we need to put
the event keyword?
namespace DelegateEx
{
delegate void BeastCaptured(string msg);
class A
{
// without having the 'event'... more >>
Create a usercontrol instances to another usercontrol in code behi
Posted by Padam at 4/8/2007 9:44:05 PM
I created a webuser control (sample.ascx). I have to call this web user
control to another with multiple instances. i.e.
1st Usr Control : Sample1.ascx
2nd Usr Control :
Register Src="./WebControls/Sample1.ascx" TagName="Sample" TagPrefix="uc6" %>
I have to call here 1st user control wit... more >>
Create dynamically dropdownlist with change index in UserControl (
Posted by Padam at 4/8/2007 9:36:04 PM
I need your help guys on urgent basis.
I have to create a couple of dropdownlist dyanmically in webuser control
with selected change event. I have gone through couple of web pages but i did
not get complete implementation for C#.
I know i have to create in page init method but i am lookin... more >>
How to get a forms datagrid to do "everything one expects"?
Posted by sherifffruitfly at 4/8/2007 8:54:25 PM
Hi all,
I'm fine with getting the grid to *display* data - it's everything
else that I'm sketchy on.
In particular, "everything one expects" refers to:
(1) When a row in the datagrid is deleted, the database record is
deleted.
(2) When a new row in the datagrid is added & populated, a re... more >>
Is there a #if not VAR_NAME
Posted by David Thielen at 4/8/2007 8:16:02 PM
Hi;
Is there a better way than:
#if VAR_NAME
#else
.... my code ...
#endif
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
... more >>
C# Fork Help
Posted by JoeW at 4/8/2007 8:12:00 PM
Now before I go into detail I just want to say that this is purely for
my own benefit and has no real world usage. I remember way back when
the tool for *nix systems called forkbomb was created. I recently
explained it to a friend of mine and at that time decided to see if I
could replicate it i... more >>
ASP.NET GridView not paging
Posted by Ronald S. Cook at 4/8/2007 7:03:23 PM
I have an ASP.NET GridView that gets its data from an object (i.e. filling a
datatable, no datasourceid). I have the PageIndexChanging event captured
and have the following code in it:
gdvProduct.PageIndex = e.NewPageIndex;
gdvProduct.DataBind();
But I'm getting a blank page when I... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Writing Hears card game in C#
Posted by Olmar at 4/8/2007 7:02:10 PM
Hi,
I am trying to write a version of the Hears card game. I can't figue
out what is the best way to detect clicks on the cards. Using the
cards.dll interface as described in tutorials like
http://www.publicjoe.f9.co.uk/csharp/card00.html . Can anyone give me
suggestions how to detect which c... more >>
What is the best way to read a HTML "readable" web directory...
Posted by GenCode at 4/8/2007 6:49:28 PM
What is the best way to read a "readable" web directory...
I know I can do this
Client.DownloadFile("http://www.mydomain.com/readabledir/", c:\
\dir.txt");
But that gives me the html and all the other tags...all I want is a
directory listing of all the *.gif in this dir and not all the html... more >>
New stuff in C# 3.0?
Posted by clintonG at 4/8/2007 11:04:18 AM
Anybody have a link to your favored blog or favored page(s) that covered the
new changes to C# 3.0?
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
... more >>
ASP.NET - layout
Posted by _nabuchodonozor at 4/8/2007 10:28:54 AM
Hi
I've a quastion. Is a possibility in VS 2005 in ASP to compose
components on form without writing HTML code??
... more >>
untyped dataset
Posted by rodchar at 4/8/2007 10:26:00 AM
hey all,
i have an untyped dataset defined. I defined a Primary key for it as well.
In the code-behind how do i manually modify the primary key field as auto
seed increment?
thanks,
rodchar... more >>
Simple question about SQL
Posted by ofiras at 4/8/2007 7:09:48 AM
Hii everyone,
I have a basic simple question, that I coulde't find the answer for:
How can I query from a db with SQL?
I know SQL, and if I want to send a query like this: "SELECT * FROM
tablename" - how can I do it? Do I need to open the db too (like in
php)?
Please help,
Ofir.
... more >>
Duplicate constructor code issue
Posted by Steven Blair at 4/8/2007 2:56:27 AM
I have encountered this problem a few times and would like to see how
other people deal with it.
A library has a Constructor that takes in n params and does some basic
validation and populates the class member.
I then get a requirement to add another paramter in at initialisation
time so the ... more >>
Suspending Threads
Posted by Dave at 4/8/2007 1:28:23 AM
Hi all,
I have an application which has some worker threads which often have to stop
and wait for some further information from other threads. These pauses will
often take a long time (a couple of minutes) and I want the thread to be
able to begin work ASAP once the new information arrives ... more >>
DOM problem with new internet explorer window
Posted by SQACSharp at 4/8/2007 12:19:16 AM
Ok i try to automate IE with the DOM, i usually do this with VB but i
need to integrate it to my C# application. Here is an example :
using mshtml;
using SHDocVw;
....
SHDocVw.InternetExplorer ie = new SHDocVw.InternetExplorerClass();
SHDocVw.IWebBrowserApp ObjBrowser = (SHDocVw.IWebB... more >>
about certificate
Posted by saeiut at 4/8/2007 12:00:00 AM
Hi,
I have some problems to working with certificate in cshart (.Net Frame work
2.0)
who can help me?
thanks,
SAE
... more >>
|