all groups > c# > may 2007 > threads for tuesday may 29
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
From C to C#
Posted by BillP3rd at 5/29/2007 11:58:00 PM
I've been writing C for 20+ years and am finally making the transition to C#.
I understand generally how struct and enum have changed. The data I want to
represent can be thought of as "rows" so in C I'd use an array of structs -
not an option in C#. I'd like to combine an enum to make the cod... more >>
Invoking Javascript Functions from an Instance of Internet Explorer
Posted by Matthew Lock at 5/29/2007 11:20:15 PM
Hello,
I am automating Internet Explorer in order to do some simple automated
testing of a web application. How do I invoke Javascript functions in
the web page I load?
I can successfully start an instance of Internet Explorer and control
the DOM, but I don't know how to call Javascript funct... more >>
mshtml
Posted by zion at 5/29/2007 10:22:43 PM
My C# webservice uses the mshtml reference.
On my local computer it works fine but on my host server I get the error:
Parser Error Message: Could not load file or assembly 'Microsoft.mshtml,
Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one
of its dependencies. The s... more >>
HttpWebRequest cookies from IE
Posted by Nathan Laff at 5/29/2007 2:59:03 PM
Can i make HttpWebRequest use the cookies already saved from Internet
Explorer?
Or, if not, how can I make it, or WebClient log into a web resource with a
login form on the page.
... more >>
imageList
Posted by Hrvoje Voda at 5/29/2007 2:50:24 PM
Is there a way to fill an imageList with images from sql server dataTable
that are stored as BLOB?
Hrcko
... more >>
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: An attempt to attach an au
Posted by weird0 at 5/29/2007 1:49:34 PM
This is the exception that I get when i create a webserivce obj and
call. The error comes on the webmethod call, when it opens a
connection to the db.
How do I fix it? What is the solution to this?
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> Sy... more >>
Critical Errors with Vista Event Logs
Posted by SteveT at 5/29/2007 1:44:02 PM
I have a test routine that looks at the Application, System, and Security
event logs. I noticed that Vista added a new "type" of error called
"Critical". However, VS 2005 doesn't list this new type in the
EventLogEntryType enum. Is there some patch that updates this type
definition or som... more >>
Show only needed methods from a Dictionary<TKey, TValue> class member
Posted by daohuy.hua NO[at]SPAM gmail.com at 5/29/2007 1:40:47 PM
The context is that I have a C# class named MainModel which has a
private Dictionary<string, FileStream> member named dict. I also have
a property Dict to access to this member:
public Dictionary<string, FileStream> Dict
{
get { return this.dict; }
}
The problem with this implementat... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Multi threading static method and possible locking
Posted by richard.hallgren NO[at]SPAM gmail.com at 5/29/2007 1:21:43 PM
Hi,
I have a static method that I use for data access. This particular
method reads x number of rows and then updates these rows with a read
= 1 flag. I access this method with several threads and I guess that
one thread (thread A) could read rows and then the next thread (thread
B) would rea... more >>
what does StructLayoutAttribute.Pack do!??
Posted by giddy at 5/29/2007 12:25:00 PM
hi ,
I' know what the StructLayoutAttribute does. I've seen it being used.
But what does the Pack field do!?
This is what MSDN says:
Controls the alignment of data fields of a class or structure in
memory.
This field indicates the packing size that should be used when the
LayoutKind.Seque... more >>
single sign on for windows applications or windows services
Posted by Pouria at 5/29/2007 12:11:33 PM
Hi,
Does anyone have any experience with single sign on for .Net windows
applications or windows services? So the idea is to be able to use the
user credentials from logging into windows to authenticate the user
for using a windows application or windows service. I have found some
information... more >>
how to track text entry in windows using c# /c#.net
Posted by mthuywin NO[at]SPAM gmail.com at 5/29/2007 12:04:20 PM
Hi guys
I would like to develop an application that tracks all the text input
in windows (including those in MS Office apps and in IM clients) and
translates them into another language. I plan to use C# to develop the
app but i don't know which API i should use to track the text input in
Wind... more >>
Setting the resolution
Posted by Mufasa at 5/29/2007 11:34:15 AM
We have a product that is running as a kiosk. Occasionaly, some yahoo goes
in and screws with the screen resolution. Is there some way I can force it
back to a resolution that I know works?
TIA - Jeff.
... more >>
Configure Web Service CLient Timeout via Config File??
Posted by Crash at 5/29/2007 11:24:00 AM
VS 2003
..NET 1.x
Windows 2000 SP4
Hi all,
We recently migrated a data center containing several database and ASP
web service servers. We have a Windows Forms application that runs on
200+ user desktops and it does all database access through a web
service middle tier running in the new ... more >>
how to screen scrape from a windows text box
Posted by WFDGW2 NO[at]SPAM gmail.com at 5/29/2007 10:53:37 AM
I want to write or obtain C++ code that will scrape text from a dialog
box within a poker client, and then record that text somewhere else.
What do I do? Thanks.
... more >>
SerializationException
Posted by sapsy at 5/29/2007 10:29:34 AM
hi,
I have a class which uses Microsoft.Win32.RegistryKey
class, and i am trying to Serialize this class but i get the following
Error... anu ponter will be really helpfull..
Message="Type 'Microsoft.Win32.RegistryKey' in Assembly 'mscorlib,
Version=2.0.0.0, Culture=neutral, Publi... more >>
datgridview to datatable
Posted by Rex NFX at 5/29/2007 10:17:15 AM
i have a datagridview bound to a dataset that is populated with data
from a query from the source datatable. the data is then modified by
some procedures but still maintains the same schema. how do i update a
different datatable with the updated data from the datagridview? the
datatable to be up... more >>
Hedge Fund Job - Looking for SQL / .Net developers
Posted by Recruiter at 5/29/2007 9:44:13 AM
send resumes to resume.newsgr...@gmail.com if interested.
Thanks.
//Responsibilities:
Periodic report production including:
Value at Risk and volatility reporting by portfolio
Backtesting and historical performance measurement
Portfolio segmentation analysis
Portfolio reporting
Perf... more >>
IE Toolbars
Posted by Curt at 5/29/2007 8:59:01 AM
I'm working on a web application that hides all of the tool bars in IE from
the user. I know there are a number of discussion about not doing this. It's
a third party application that I'm adding fucntionality to through the tool
bars. I can turn the toolbars back on but I get everything the Me... more >>
Retrieving data from excel
Posted by indrajith_varma1 at 5/29/2007 7:28:06 AM
Hi
I am working on an application to retrieve data from excel and insert
into SQL Server database. Yesterday, I faced a strange problem. In a
column in the excel, if 1st 8 rows are number, then as soon as an
alphanumeric or string value is encountered, the string becomes null
and put into the... more >>
MS SQL Connection Error from Client
Posted by icegray at 5/29/2007 5:29:19 AM
Hi,
I am new about C# and MS SQL. I have done a new program which use MS
SQL Database and I've install it to a new computer. But program
doesn't run on new computer. I give SQL Server Connection Error
(provider:SQL Network Interfaces, error: 26 - Error Locating Server/
Instance Specified ).
... more >>
CF card GPRS Modem (pocket pc)
Posted by Sheikko at 5/29/2007 5:21:55 AM
I have a GSM/GPRS compact flash card inserted in my pocket pc. I have
configured it with all connection settings because I want to use it to
connect to the internet with a C# socket.
I want to know how Ican wake up the modem and enable the connection
and also how I can stop the connection.
than... more >>
memory consumed by my .net Application
Posted by prakashdehury NO[at]SPAM gmail.com at 5/29/2007 3:24:05 AM
Hi
I am in the process of optimizing an .Net application that consumes
lot of memory for its mathemetical processing and calculation.
Can any one pls suggest me how to check the memory consumed by an .net
Application apart from performance monitor.
thanks
Prakash
... more >>
set Dropdownlist SelectedIndex in a DataGrid
Posted by marcbb at 5/29/2007 3:17:58 AM
Hi all,
I have a really strange problem working with Dropdownlists in a
DataGrid.
I'm trying to preselect some values from the DropDownlist for each
row in the DataGrid, but it seems that both selectedIndex has the same
reference and modifying the first one also automatically modify the
... more >>
set Dropdownlist SelectedIndex in a DataGrid
Posted by marcbb at 5/29/2007 3:04:56 AM
Hi all,
I'm working with a DataGrid that has two template columns with one
DropDownlist each one. It's something like this:
A <DDL_1> <DDL_2>
B <DDL_1> <DDL_2>
C <DDL_1> <DDL_2>
...
... more >>
GTK# Development Libraries?
Posted by Mahmoud Al-Qudsi at 5/29/2007 2:47:44 AM
I'm trying to start cross-platform development with Mono/.NET and
GTK#.
However, I love the VS.NET IDE, so I'd like to do my coding on Windows
with Visual Studio 2005 instead of on Linux with the crappy
MonoDevelop.
I cannot for the life of me locate the Windows development libraries
for G... more >>
making fonts size fixed
Posted by dshemesh at 5/29/2007 2:28:01 AM
Hello,
I have a project with windows forms. The size of the forms is fixed, and the
text in the form is made to fit exactly in the form. The problem is that if
the user changes the font size in windows, the form itself doesn't change its
size but the text becomes bigger, and only part of it i... more >>
pivot table control for VS 2005
Posted by Chris at 5/29/2007 2:08:00 AM
I would like to use a pivot table in my win app. Something like the pivot
tables in SQL Server 2005 (Analysis Services).
Does it exist something similar that can be used on my own app?... more >>
How to use the DataBuffer of SCSI_PASS_THROUGH_DIRECT in c# ?
Posted by Marce at 5/29/2007 12:00:00 AM
Hi All;
I need to send a READ command to CD-ROM drive by SCSI_PASS_THROUGH_DIRECT.
int inputSize = Marshal.SizeOf(typeof(SCSI_PASS_THROUGH_WITH_BUFFERS));
IntPtr input = Marshal.AllocHGlobal(inputSize);
Marshal.StructureToPtr(sptdwb, input, true)
In my code, the Marshal.Str... more >>
How to reset a socket?
Posted by Diego F. at 5/29/2007 12:00:00 AM
Hello.
I'm writing an application that manages sockets and has a message protocol.
I connect to another machine and I have to send and receive certain
messages.
I need the possibility to restart the communication. I tried with a simple
socket.close method and trying to connect again as t... more >>
referencing 2 versions of same assembly
Posted by M R at 5/29/2007 12:00:00 AM
how can i reference two versions of the same assembly? they exist in two
seperate files. since they have the same name they can't simply be
referenced.
(i am writing a program that updates data that was serialized with version 1
of the class/assembly and store it in the class format for ver... more >>
listview
Posted by Hrvoje Voda at 5/29/2007 12:00:00 AM
How to add a list of images into listview?
Should I use different tool?
Hrcko
... more >>
|