all groups > c# > december 2004 > threads for friday december 24
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 31
public & private pages
Posted by CTMAx at 12/24/2004 11:26:54 PM
Hi
I have my public pages in my root folder and the private pages in a
subfolder 'Private'. The user needs to be logged in, to see the private
files.
One of the public pages has a hyperlink to a page(Jobs.aspx) in the Private
folder.
The following statement does not get me to Jobs.asp... more >>
Control as a form within an object
Posted by web1110 at 12/24/2004 9:10:24 PM
Hi y'all,
I have a set of objects and within each, I want to provide a method to
display the contents of the object. I also wish to be able to use the form
designer part of Visual Studio to create each form.
The solution I came up with is to create a Windows control library and then
instan... more >>
SelectedIndices in ListView
Posted by Alberto at 12/24/2004 7:20:15 PM
In the event SelectedIndexChanged of a listView I wrote this code:
this.Text = lst.SelectedIndices[0].ToString();
The ListView has the MultiSelect property set to false.
The first time the event is called it works fine but in the second call, it
breaks.
does anybody why?
Thank you ver... more >>
how to set up the listview to hign-light one line
Posted by zbcong at 12/24/2004 6:04:38 PM
hello
how can i set up the listview to high-light one line that is selected by
mouse.now only the first column can be selectable.
thank you.
... more >>
How to select data?
Posted by Alessandro Francisco at 12/24/2004 5:17:24 PM
Hi,
I create this code #, to test a connection to Firebird SQL Server.
But i don't know fetch up the data selected, samebody can help-me?
--
Regards,
Alessandro
cs.alessandro@uol.com.br
C#.Net & Firebird SQL Server
#
#region Using directives
using System;
using System.Collect... more >>
Databinding from one dataset to multiple forms
Posted by Bob1739 at 12/24/2004 2:05:02 PM
I'm building a relatively simple app to edit flat data from a single table.
I need to use multiple windows - Main form has a datagrid...idea is to click
on a row in the data grid to open a "detail" window with data from the row.
Many detail windows can be opened at the same time (for differ... more >>
How to Navigate2 embedded resource
Posted by WRH at 12/24/2004 1:22:17 PM
Hello
I am using the Navigate2 method of the Microsoft Web Browser
control to display a local file, eg
....
object Zero = 0;
object url = "page1.htm";
axWebBrowser2.Navigate2(ref url, ref Zero,ref Zero,ref Zero,ref Zero);
....
Works fine. Now I want to make page1.htm an embedded resource
i... more >>
IE c# client side
Posted by William Stacey [MVP] at 12/24/2004 12:00:01 PM
Can you do c# code instead of javascript in web pages (i.e. IE) at client
side today? If not, is that on radar? If so, any links?
--
William Stacey, MVP
http://mvp.support.microsoft.com
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Enumerator to String to Enumerator
Posted by Barguast at 12/24/2004 11:51:02 AM
It's possible to convert an enumerator to a string with the ToString method,
but is it possible to convert the string back to an enumerator?
For example:
enum Enumeration
{
enum1,
enum2,
}
void Test ()
{
Enumeration e = Enumeration.enum1;
// Get the enumerator name
string ... more >>
How to Calculate String Length in Bytes?
Posted by PJ Olson at 12/24/2004 9:27:48 AM
I have a string that I am writing to a binary file. I am trying to determine
the size of the string in bytes as it will be stored in the file.
Currently, the string is 19 characters in length so I am using the following
calculation to get the right size:
(timestamp.length * 2) - 14
But,... more >>
Component package
Posted by Alexander Muylaert at 12/24/2004 9:20:08 AM
Hi
Wich one is the best
DevExpress Components
ComponentOne
Syncfusion
....
I'm a Delphi developer, so I already know DevExpress and their quality. But
they don't support Compact Framework. Has anybody else have some experience
with these packages?
kind regards
Alexander
... more >>
Help on design decision with Tree structure data
Posted by kurotsuke at 12/24/2004 8:55:45 AM
I have some data organized in a tree structure saved in an XML file
and I want to display it in a TreeView control (the XtraTreeview of
DevExpress).
Each data item I would like to store in a class so that I can attach
to it some logic (for example to each data is associated an Execute
method)... more >>
Problem with MessageBox
Posted by Nurchi BECHED at 12/24/2004 3:48:49 AM
Hello,
I have the following code:
....
for (i=0; i<this.Text2Show.Length; i++)
{
if (tmpNode.Name=="output")
{
this.Text2Show[i].OutStr=
tmpNode.FirstChild.InnerText;
this.Text2Show[i].OutX=
int.Parse(tmpNode.FirstChild.NextSibling.InnerText);
this.Text2Show[i].Out... more >>
aborting a thread in C#
Posted by Abhinav Pathak at 12/24/2004 1:45:09 AM
Hi..
Am trying to kill a thread that is performing a method using abort call. But
the thread until reaches a "safe point" doesnt get killed. Is there any
method of killing a thread instantaneously.
here's what the method on which the thread is working on trying to do.
public static void ... more >>
|