|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Very slow response *and* a timeout error with HttpWebRequest/HttpWebResponse
GHS -
1 Jul 2006 11:47 PM - 3 messages
I have some code to connect to a website and pull some content out of the HTML. I've verified that the 2 URLs I'm using are perfectly fine in Internet Explorer and both of them return results "pretty quickly". ...
event when task pane's visibility changes
Matthias Langbein -
1 Jul 2006 9:16 PM - 3 messages
Hi all, is there an event raised when the task pane is changed from visible to invisible and vice versa? And how can I trigger this event? Thx, Langi ...
"cast" string to enum
Matthias Langbein -
1 Jul 2006 7:08 PM - 3 messages
Hi all, i want to save the position of my Addin-Toolbar to the registry. It's easy to store the position as a string with MsoBarPosition.toString(). But when I read the key, I get it as a string and I want to assign the ...
Opening Excel, user update
Robert Bravery -
1 Jul 2006 6:41 PM - 2 messages
HI all, I am opening a rather larger excel workbook +-50000 rows. Is there a way that I can give the user some feedback as to the process Thanks Robert ...
Web.Config Files
Obinna -
1 Jul 2006 6:06 PM - 6 messages
Why is it that if I try adding a web.config file to my ASP.NET application when creating the web application from outside the DOTNET environment, the browser reports an error when any page is loaded? Is there a configuration to be made to the web folder? Or to any of the ...
Where is the .Dispose?
Frank Rizzo -
1 Jul 2006 5:59 PM - 8 messages
Ok, this is not a real problem but I am just really curious. I can see that IDataReader/SqlDataReader implements the IDisposable interface. So why can't I see the .Dispose method in the intellisense for an instantiated SqlDataReader object? ...
Where to download VSTO?
wally -
1 Jul 2006 5:57 PM - 2 messages
I feel completely stupid having to ask this (not as stupid as if I had developed the VSTO website that contains no OBVIOUS links to it).....but, where the hell is the VSTO download? I've sniffed around [link] ...
Searching in PDFs
Mystique -
1 Jul 2006 5:19 PM - 2 messages
Hi Is there any way that i do a search in a PDF document with C#? Regards, Mystique ...
Help! How to make overridden method sealed using the CodeDom?
lee.chappers -
1 Jul 2006 4:03 PM - 10 messages
How can I make the CodeDom generate the following C# method? protected sealed override void Test() { } I've tried using: domMethod.Attributes = MemberAttributes.Override | MemberAttributes.Family | MemberAttributes.Final; but I just can't get the CodeDom to produce the "sealed" keyword... ...
Connection.Dispose and the connection pool
Frank Rizzo -
1 Jul 2006 3:18 PM - 5 messages
I am researching some errors with "The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached." message. I am assuming that the connection pool ran out of connections ...
Basic graphics
Daniel -
1 Jul 2006 12:59 PM - 4 messages
Hey guys I have an app front end in directx, but have decided since my graphics are so basic and my app always runs windowed that removing direct x and using standard graphics functionality is better. In directx i have a texture file full of images and i can take a rectangular ...
Password in forms - help!
Gekotec -
1 Jul 2006 12:34 PM - 2 messages
how can i make a form that allows the user to enter a username and password to connect to a different application or website. i know that linking buttons to apps or websites is this: System.Diagnostics.Process.Start(@"C:\My folder\appname.exe"); ...
Exception is not shown, just function is exited???
MilanB -
1 Jul 2006 11:11 AM - 4 messages
Hello I have C# code that normaly throw exception and error message is shown. It's works fine. Separatlely I have ATL Component. When ATL Componenet fires event, and later C# code is called, no exception is shown. Function is just exited and no error is shown. ...
Opposite of "ToString"
Larry Smith -
1 Jul 2006 10:24 AM - 4 messages
Once you call "ToString()" for an object, how can you then convert the string back to the original object (assuming you know its type of course)? Also, why does "ToString()" produce one string and "TypeConverter.ConvertToString()" produce yet another (e.g., for a ...
DELEGATION PROBLEM
Savas Ates -
1 Jul 2006 9:17 AM - 5 messages
I want create a delegate method like that . However It returns .. CsharpWeb1.deneme.test()' does not match delegate 'void CsharpWeb1.deneme.foo() Method 'CsharpWeb1.deneme.test2()' does not match delegate 'void CsharpWeb1.deneme.foo()' What is the my mistake ? public class deneme ...
how do you render html in a C# form?
Shawn -
1 Jul 2006 8:33 AM - 5 messages
Hi all; i'm looking for information on rendering html within the context of a C# form using .NET 1.1 framework. is there a control in VS 2003 that would allow this to be easily done? Thanks ...
Regex Question
JM -
1 Jul 2006 7:14 AM - 2 messages
Hi, I am not sure if this is the place to post a REGEX question if not, please indicate me where i can post it?. My question: Given a string like: "Boston. MA. Holidays" I need to define the regular ...
Use of unassigned local variable
Antonio -
1 Jul 2006 5:38 AM - 4 messages
Can somebody tell me what's wrong with this code? When I try to debug, I get "Use of unassigned local variable 'ip2se'. string ip2se; if(e.Item.Cells[2].Text == e.Item.Cells[3].Text) ip2se = e.Item.Cells[2].Text.ToString(); ...
Stretch cells in datagrid
Antonio -
1 Jul 2006 4:19 AM - 2 messages
Hello, everyone, How do I stretch the cells in a datagrid to the content of the cell? The options in the Property Builder don't seem to have that option. Thanks. ...
XML Documentation & Namespace...
Lloyd Dupont -
1 Jul 2006 3:18 AM - 3 messages
How do you XML document namespace? I'm tetsing my project documentation with NDoc. And I could see I have no namspace documentation. How do I fix that? ...
C# equivalent to "Pset"
pcnerd -
1 Jul 2006 1:39 AM - 5 messages
I've been playing with "classic" VB since version 3. I have VB6 Learning Edition. Recently, I wanted to try VB.NET. I got a beginner's book with a CD with the software & installed it. There are things that I like about VB.NET & ...
How do I do this
Larry Smith -
1 Jul 2006 1:13 AM - 5 messages
Looking at the ".resx" files produced by the Windows forms designer, I see nodes like this: <data name="MyRadioBtn.Size" type="System.Drawing.Size, System.Drawing"> <value>94, 21</value> ...
How to get embedded resource of another project
ad -
1 Jul 2006 12:43 AM - 3 messages
I have two project in a solution, they belong two different namespace. How can I get the embedded resource of another project? ...
process id
Dave -
30 Jun 2006 10:30 PM - 2 messages
I know the name of a program, program1, that's running. In a second program how do I use this name to determine the id of the process for program1? ...
WebBroswers Control -> History
Jay Brodie -
30 Jun 2006 9:05 PM - 4 messages
I am trying to find a way to have the webbroswer object in my VC app to NOT write the browsed sites to the normal history for the deaktop computer. I have looked all over and cant find anything remotly close to what I need. ...
xml control visibility
-D- -
30 Jun 2006 7:50 PM - 12 messages
How can I turn the visibility of the xml control on or off? <%@ Control Language="c#" AutoEventWireup="false" Codebehind="TopNavBar.ascx.cs" Inherits="compass.user_controls.TopNavBar" TargetSchema="[link]"%> <table cellSpacing="0" cellPadding="0" border="0"> ...
Custom IE Toolbar IE6 C#
EmeraldShield -
30 Jun 2006 7:31 PM - 12 messages
I am developing a toolbar for IE6. I have referenced the sample project provided at [link] and the msdn article "Creating Custom Explorer Bars, Tool Bands, and Desk Bands". I have followed the instructions and installed the samplebar.dll and the ...
Atlas Refresh
Vai2000 -
30 Jun 2006 7:24 PM - 3 messages
Hi All, I have a grid which binds to a select on a SQL Db. New rows are constantly being added up to the table. How can I take adv. of Atlas to refresh on my page when the data changes...? For now I do a refresh every 5 ...
Question about Generics
hammad.awan_nospam@gmail.com -
30 Jun 2006 6:49 PM - 12 messages
Hello, I'm wondering if it's possible to do the following with Generics: Let's say I have a generic member variable as part of a generic class like this: List<DLinqQuery<TDataContext>> _queries; where DLinqQuery is a generic class that takes a type parameter ...
C# Opp
Greg.franklin -
30 Jun 2006 6:01 PM - 5 messages
Hello, I just had a job opp come across my desk. It is based in KC, and it looks like it can be a pretty lucrative position. If anyone is interested please contact me. greg.franklin ...
RE: Suppress data in a datagrid cell
Antonio -
30 Jun 2006 5:59 PM - 7 messages
Ok, Peter, I set the Item_Bound in the Page_Load event private void Page_Load(object sender, System.EventArgs e) { dgSubs.ItemDataBound += new DataGridItemEventHandler(this.Item_Bound); bindGrid(); } The Item_Bound event is private void Item_Bound(Object sender, DataGridItemEventArgs e) { Label1.Text = e.Item.Cells[4].Text ...
how to load TAB files on opennetcf?
vaj -
30 Jun 2006 4:12 PM - 4 messages
Hi, Does anyone know how to load a *.Tab file on to a dataset using opennetcf? I tried doing it but it doesnt seem to work. Private da As OpenNETCF.Data.text.TextDataAdapter: .... .... da.delimitingcharacter = " " ... could anyone tell me how to do this. ...
Suppress data from displaying in the cell in datagrid
Antonio -
30 Jun 2006 4:01 PM - 6 messages
Hello, everyone. Is there a way to not display a certain value in a datagrid cell? I have a datagrid for subscriptions and ebooks and if there isn't an e-book listed, the value from the database (SQL) is "Null/No Set Dummy Row". ...
directshow in c#
Dave -
30 Jun 2006 2:57 PM - 8 messages
Hi, can I use directshow in c#??? dose Microsoft still support direct show sdk or there is a new technology today??? what is the best way to draw on playing video and how can I do that??? Thanks ...
Best coding style for c#( 3rd)
kiplring -
30 Jun 2006 2:40 PM - 11 messages
I made a input window derived from System.Windows.Forms.Form. What I use is just one property "inputWindow.Message". But System.Windows.Forms.Form has so many properties, functions, evnets. So I want to hide all things except the one property ...
Simple Response. Redirect error in dll file! plz help
Shawn Convington -
30 Jun 2006 2:24 PM - 3 messages
Hey, I am facing a problem which seems srange to me. I have a simple dll class file i have created in its own projected, so it can be inherited and used by others (for example security.dll here). I have a method here whhich takes the sql statement the sql string and ...
Reading / Writing Data into / out of a C# Structure
Zeke Zinzul -
30 Jun 2006 2:04 PM - 4 messages
Hi Guys & Geeks, What's the most elegant way of dealing with binary data and structures? Say I have this (which I actually do, a woo-hoo): struct Struct_IconHeader { byte width; byte height; byte colorcount; byte reserved; UInt16 planes; ...
How to prevent Events from being queued?
Ole -
30 Jun 2006 2:02 PM - 3 messages
The pin_changed event from serial port is being queued while the eventhandler is busy, but how do I change it so that the new event is ignored instead while eventhandler is busy (I want to eliminate switch noise)? Thanks Ole ...
I hate to ask, but...
james -
30 Jun 2006 1:40 PM - 4 messages
I'm used to windows forms programming. Just tackling something in asp.net as a web app - I have got to the point where I have a login form that works, and on the resulting page I have a loginview. That page has a design layout ...
Error 1053: The service did not respond to the start or control request in a timely fashion
magnus.s.olsson -
30 Jun 2006 1:38 PM - 2 messages
I have got a Windows Service application from a customer that I try to start. The customer can start it with no problem, but when I try to start it I get: "Could not start the GateWay service on Local ...
Multiple Interface!!!!!!!
Wallace -
30 Jun 2006 1:28 PM - 5 messages
Hai All, I am having some query in the following sample code... On creating object for class1 and calling display function, it shows a message box with "Hai". My question is 1. Which interface's display is called? ...
Using Excel functions in C#???
osmarjunior -
30 Jun 2006 1:09 PM - 4 messages
Is it possible to use an Excel function inside C# code? Regards. Junior. ...
Please confirm this is a MSFT bug
Jake Forson -
30 Jun 2006 12:50 PM - 31 messages
Hi there, Before I notify MSFT, can someone confirm this is in fact a compiler bug (it seems pretty obvious but I'm fairly new to C#). The following code (erroneously) generates compiler error CS0177 (The out parameter 'Whatever' must be assigned to before control leaves the current method). ...
Inheriting forms
Ronald Hermans -
30 Jun 2006 10:46 AM - 3 messages
Hello, I have a Delphi background and just started with c#. I'm trying to inherited a form that has a MenuStrip on it with some basic items in it. I want to extend the menu in the intherid form but I'm not able to access the ...
How to math string containing '+,()' in .net
archana -
30 Jun 2006 10:40 AM - 6 messages
Hi all, I want to apply regular expresion on string containing chatacters like '(,')',+' and many such which we are using while creating pattern for regulat expression. But when i am applying regular expression on input string containing abov character exception is getting raised. ...
Passing delegates in structure to C dll
renjini -
30 Jun 2006 9:59 AM - 6 messages
I am a starter in C# ... I will present my problem : I am wrapping a C dll in C#. The C dll exports a function which takes a structure MYSTRUCT holding 2 function pointers(callback functions). struct MYSTRUCT { ontest1 t1; ...
Using Code to Call an exe - then get the status back?
Simon Harvey -
30 Jun 2006 9:41 AM - 2 messages
Hi all, I need to make a scheduling service that will call an exe file. As I understand it, the exe can return a status code from its Main method. My question is, how do I programmatically: a. Call the exe ...
Bring hidden components to the front
Torben Laursen -
30 Jun 2006 8:30 AM - 2 messages
Hi In the dropdownbox in the properties window I have a lot of components that I cannot see in the designer. Is there a way to bring them to the front so I can delete them? PS they are set to Visible=true ...
System.Net.WebClient with Proxy and Credentials
TheMaxx -
30 Jun 2006 8:07 AM - 3 messages
I try getting response from web site through proxy in my domain: WebClient wc = new WebClient(); WebProxy wProxy = new WebProxy(); CredentialCache cc = new CredentialCache(); NetworkCredential nc = new NetworkCredential("myUsername", "myPassword", "myDomain"); cc.Add("myProxy.domain.local", 8080, "Basic", nc); ...
Real-time with encryption possible with browser-based app on an Intranet using .NET?
polaris431 -
30 Jun 2006 7:12 AM - 2 messages
I would like to obtain encypted data over a network in real-time. The nature of the data and process is as follows... A physical hardware device is located at some remote location. When the sensor gets activated, it must notify an operator at a remote facility ...
Video Conferencing Demo
Ahmad Jalil Qarshi -
30 Jun 2006 7:00 AM - 3 messages
Hi, I want to make a Video Conferencing Demo in C# or VB.NET. I have searched on the net but couldn't find proper information. Is there anybody to help me? Thanks in anticipation. Regards, Ahmad Jalil Qarshi ...
PC login name
Alan T -
30 Jun 2006 5:29 AM - 4 messages
How do I find out the user login name ? eg. I got a XP has user profile name 'Alan' and log in, is there any function or API to find out that? ...
SqlDataReader
Alan T -
30 Jun 2006 4:55 AM - 4 messages
How do I know how many records in SqlReader ? What I want to do is I would like to assign the field values in SQLReader to an array. eg. int i = 0; while (objReader.Read()) { string[i] = objReader.GetString(i); ...
Stored Procedure return records
Alan T -
30 Jun 2006 4:16 AM - 3 messages
I have a SP: CREATE PROCEDURE dbo.users_name as select name from users order by name Here's my C# code: public string[] GetUserNames() { SqlCommand objCommand = new SqlCommand("users_name", _Conn); objCommand.CommandType = CommandType.StoredProcedure; _Conn.Open(); objCommand.Connection.Close(); ...
ASP.Net 2.0 CheckBox List Layout Issue?
Chaprasi -
30 Jun 2006 3:52 AM - 7 messages
Gurus of asp.net and C# Please Help! I have a checkbox list solution to implement. This is my code <asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="3" RepeatDirection="Vertical" RepeatLayout="table"> <asp:ListItem>Item 1</asp:ListItem> ...
mail failed
Zeeway -
30 Jun 2006 2:51 AM - 7 messages
hi,everybody I use dotnet 2005 and c sharp to deliever a mail to a certain mail address,but it failed with messages such as "invalid parameter,the server response: decode failed". My codes is listed belowed: try ...
Namespace
Alan -
30 Jun 2006 1:29 AM - 3 messages
I create a project defined all cs files in our namespace, eg. office.target.classlibrary office.target.classlibrary.client1 Then I added a new item, ie DatSet. Compile and got the error "The type or namespace name 'DataSet1' could not be found (are you missing a ...
App.Config
Alan -
30 Jun 2006 1:20 AM - 10 messages
I create a solution composed of several projects but only have one project contains app.config. Why ? ...
How to get SP params?
Brett Romero -
30 Jun 2006 12:27 AM - 3 messages
How do I get the names of parameters for a specific stored procedure. I just need a listing of the names and nothing else. Thanks, Brett ...
error creating timer_elapsed handler.
hazz -
29 Jun 2006 11:25 PM - 4 messages
Why do I get this error for this simple console app. It is complaining about the 'timer1_Elapsed' argument in System.Timers.ElapsedEventHandler(timer1_Elapsed); An object reference is required for the nonstatic field, method, or property 'TestTimerIntervalFromConfig.Class1.timer1_Elapsed(object, System.Timers.ElapsedEventArgs)' ...
creating a type from a string
Dan Holmes -
29 Jun 2006 10:23 PM - 2 messages
If i have this value in a string "System.Int32", how can i get that into a variable with the type of Type? string s = "System.Int32"; Type t = //do something here so that t.ToString() == s is true dan ...
Knowing an object implements an Interface
Ron M. Newman -
29 Jun 2006 10:05 PM - 4 messages
Hi, Is there a quick way to know if a given object implements IComparable? (without casting or anything like that). Something that uses reflection? Thanks -Ron ...
IOException File used by another process
George -
29 Jun 2006 9:27 PM - 14 messages
Hi, I am re-writing part of my application using C#. This application starts another process which execute a "legacy" program. This legacy program writes to a log file and before it ends, it writes a specific string to the log file. ...
Generics
Robert -
29 Jun 2006 9:08 PM - 5 messages
Hi, I have a generic List that holds a type that must inheret from a base type and implement a interface. Can I use the generic list without nowing the derived type? Here is some code to explain the situation (i hope): ...
Duplicate rows in datagrid!
DBC User -
29 Jun 2006 8:33 PM - 2 messages
I have two datasource combained to form a datagrid. I am merging the 2 dataset to a new dataset to display them in a datagrid. Is there an option remove duplicates during merging?? Thanks. ...
Can I use different data sources for each row in a given column (column type dropdownlist)
zaki.agha -
29 Jun 2006 8:31 PM - 3 messages
Hi I have a aspx application written in c#. I have created a datagrid control on the page. One of the columns in the control is a dropdownlist. I would like to set the data source of the dropdownlist to a different ...
Tabcontrol Colors
Robert Bravery -
29 Jun 2006 8:06 PM - 3 messages
Hi all, I dropped a tabcontrol on my form. The forms background color is a pastel blue. I can get the tabpage to thesame pastel blue. Bt cannot get the tab nd tab border to the same color. it remains on the normal windows grey ...
Try/Catch problem
bad_boyu -
29 Jun 2006 7:15 PM - 5 messages
Hello, I have the following code: try { Salarii.Editors.AngajatiNewFrm _angNewFrm = new Salarii.Editors.AngajatiNewFrm(); _angNewFrm.Connection = this.Connection; _angNewFrm.ShowInTaskbar = false; _angNewFrm.ShowDialog(); _angNewFrm.Dispose(); } catch ( Exception ex ) { Salarii.Exceptions.ExceptionFrm frm = new Salarii.Exceptions.ExceptionFrm(); frm.Exc = ex; ...
IEnumerable is strange
Tin Gherdanarra -
29 Jun 2006 7:05 PM - 6 messages
Dear mpdls, here is a simple example of an IEnumerable that generates integers: It works, but I have only a vague idea of what's going on. I understand that /yield/ wraps the humble integer that comes from counter++ ...
DateTime question year, month, day from 38896
Jim Stools -
29 Jun 2006 6:57 PM - 7 messages
Any idea how to find the year, month and day from (Int32) 38896? 38896 presents 6/28/2006 in excel. The dates in the database are (all) stored as Int32's corresponding to the way dates are handled in excel excluding time. ...
DataRow and Item
Vik -
29 Jun 2006 6:09 PM - 6 messages
I used to work in VB.NET. Now in C#, I have: using System; using System.Data; using System.Data.SqlClient; DataRow dr; Then I want to use dr("ColName") but there is no Item property in the IntelliSense. What is wrong here? ...
Database Metadata // OleDB
sloan -
29 Jun 2006 5:53 PM - 3 messages
Back in ADO days, it was fairly easy to get the meta data (tablenames, columnnames , etc) .. with all that schema stuff. I have a Access database, that I'd like to get the list of tableNames in it. How does one get the metadata about a database thru DotNet? ...
Equality and generics
Giulio Petrucci -
29 Jun 2006 5:47 PM - 8 messages
Hi everybody, I'm implementing a sort of my own generic collection. It has a method that returns an int representing the index for a particular index. If I try to compile the code below: class MyCollection<T> : ICollection<T> { ...
Hashtable - array as value
mj.clift -
29 Jun 2006 5:25 PM - 3 messages
Hi All, Is it possible to have the value of a hashtable key set as an array. Then look up the value for that key and have it return a random value from that array? Thanks, Calvin ...
Datatable search
arun.hallan -
29 Jun 2006 4:52 PM - 2 messages
I have a datatable with different id's in it. Each id has a set of attribute pairs. EG id - attribute name - attribute value ======================== dog -legs - 4 dog - barks - true cat - legs - 4 cat - barks - false I simple want to query the table, like in sql, and select an attribute ...
How to declare properties across inherited interfaces.
DaTurk -
29 Jun 2006 4:31 PM - 4 messages
Is it possible to have a property defined in one interface, with just the get portioned stubbed out, and then in an interface inheriting from that interface declare the set portion of the inherited stubbed out property? So that only classes implementing the second interface can ...
Default value of an enum
veerleverbr -
29 Jun 2006 4:09 PM - 5 messages
Suppose having define an enum like this: public enum SomeEnum { [DefaultValue("1")] Something, [DefaultValue("2")] ...
Changing row height in a data grid without changing font size
Kasey -
29 Jun 2006 4:06 PM - 2 messages
How do you change the row height in a data grid - I do not want to increase the height by changing my font size. My product is a touch screen so I have to make the row height large enought for a finger press. ...
Problem with windows service.
Niron kag -
29 Jun 2006 3:46 PM - 3 messages
Hi, I built a windows service and I added it references to COM objects which I use in my code. The service work well when I install it in my pc (windows 2000). When I install the project in other pc (Server – windows server 2003) it ...
Multiple Inheritance w/ Managed C++, how can you access an implementing classes properties after cas
DaTurk -
29 Jun 2006 3:35 PM - 3 messages
I have three interfaces, lets call them General, Client, Server. public interface General { public Value{get;} } public interface Client : General {} public interface Server: General { public Value{set;} ...
using params with out.
Ashish -
29 Jun 2006 3:01 PM - 4 messages
hi All, Iam facing a peculiar problem, where i would like to parse the passed parameters and would like to figure out which ones are marked 'out'. For example the method signature is public DataSet SearchItems(string procname, params objects[] values) ...
Combo box "specified cast is not valid" error
Jayyde -
29 Jun 2006 2:30 PM - 4 messages
Not sure why all of a sudden this line of code: cmbProductCategoryTreeDisplayName.SelectedIndex = 0; is producing a "Specified cast is not valid error". In the watch it has 1 item in it at index 0. This code hasn't been changed in months and it has ...
DataGridView (hidden info per row)
Jake Forson -
29 Jun 2006 2:14 PM - 3 messages
Hi there. Is there a standard technique for storing additional info per row in a "DataGridView" (say, a hidden key per row for instance). I assume it's just a matter of creating a hidden column to store this info but I just want ...
littleEndian/bigEndian
docschnipp -
29 Jun 2006 2:13 PM - 20 messages
Hi, as someone pulling to C# over from C++ I stumbled over something today for which I was not able to find an answer: HOW do I convert a byte block with a given endianess to an int32 and vice ...
Having issues reading App.config file
SAL -
29 Jun 2006 2:02 PM - 3 messages
Below is similar code that I am have and the line "myDataConnect mydata = new myDataConnect(ConfigurationSettings.AppSettings["connectSQL"]);" is what I am having trouble with. The syntax is correct and I get no errors, but it is not finding the Key ...
Dropdownlist with multiple data values?
keniget -
29 Jun 2006 1:36 PM - 3 messages
Hope I'm posting this in the right place. Has anyone encountered the need to have more than one datavaluefield? At present, I'm returning two columns, a StateID and a StateDesc and they are being put into the datavaluefield and datatextfield ...
How to 'lock' a file?
nvx -
29 Jun 2006 1:16 PM - 8 messages
Hi, I have an application working with an Access database and I need to 'lock' the currently opened DB file in order to prevent it to be deleted, modified by other applications etc. Does anyone know how to achieve this? An information regarding unlocking a file would also be ...
'As' and 'is' for value types
Edward Diener -
29 Jun 2006 1:03 PM - 3 messages
I find it amusing in VS2003 .NET C# that I can use 'is' with a reference type to see if it is actually a value type but I can not use 'as' to see if a reference type is actually a value type. Is there a reason in the ...
How to stop on first error
dfetrow410@hotmail.com -
29 Jun 2006 12:59 PM - 2 messages
Is there a setting in VS to stop the debugging prosess when is finds a compile error? ...
Master Page problem
Code Monkey -
29 Jun 2006 12:54 PM - 3 messages
Is it possible to update a section on a masterpage from a method on a content page? Ie; suppose I've got an area on a masterpage which is essentially a shopping cart which is displayed on everypage (assuming it has items in ...
Stored procedure
Alan T -
29 Jun 2006 12:41 PM - 2 messages
Is there a sample code I can use to call a stored procedure which has input and output paramerts ? ...
threading and UI calls
Jim H -
29 Jun 2006 12:41 PM - 3 messages
About a year back I posted a question and eventually implemented the following code in an event handler as a result: object[] some_args = new object[1]; some_args[0] = my_event_args.results; ISynchronizeInvoke lSync = this as ISynchronizeInvoke; if(lSync == null) {// UI Thread ...
REPEATER PROBLEM
Savas Ates -
29 Jun 2006 11:46 AM - 3 messages
It shows nothing . No error and nothing on the screen.There is no error too. Im sure sql query is returns some rows i tried it Sql query analyser ? what is the problem ? <asp:Repeater id="Repeater1" runat="server"> ...
COM+ and displaying call times on Form or Webpage
Joneseyboy -
29 Jun 2006 11:38 AM - 2 messages
Hi, Apologies if this is in the wrong place but thought it would be a good place to start. Is there a way of reading a thread call time from COM+ and displaying the thread time either in a C# Form or on a WebApp (ASPX Page)? ...
Auto-size Listview
Mantorok -
29 Jun 2006 11:29 AM - 4 messages
Hi all I have a listview, after I've added all of the items in the listview I want to set the height so that all items can be viewed at once. Can this be done, if so, how? Thanks ...
animation in .net
Prashant M -
29 Jun 2006 11:28 AM - 3 messages
can anybody suggest me how to create a PAGE TURNING EFFECT IN .NET using C# ...
Variant problem with COM,C# ---help me
srinivas -
29 Jun 2006 10:52 AM - 2 messages
Hi , Pls help me to solve this problem . /* --this is one of the function in COM component */ System.int32 ProjectLIsts(LPCTSTR prj , VARIANT* prj_list) { prj_Lists= { ARRY OF STRUCTES . ,.ONE STRUCTE FOR EACH PROJECT } returns TOTAL NUM of PROJECTS } ???. If I add this COM component to my .net project , then it converted ...
problem related to overloading == operator
Constantine -
29 Jun 2006 10:37 AM - 4 messages
Hi, I have developed one class called CProductInfo providing == and != operator features. I have one problem. When I use this class in my program, say CProductInfo product = null; and later, when i check for emptiness, if (product==null) it returns false as if the product instance is not empty. ...
Diaplsy long message
Wilson -
29 Jun 2006 10:10 AM - 4 messages
Hi, How can I display a long message in a web form ? like : when we log in, the right hand pannel display message. Welcome back, Wilson. If you're not Wilson, sign out by clicking the Sign Out button above, and then sign in again. ...
Cannot put delegate in interface - why not?
atwomey -
29 Jun 2006 10:08 AM - 6 messages
When I try and place a delegate in an interface, like this : public interface ITest { double foo(); delegate void bar(); } I get an error "delegates cannot declare types". What is it about a ...
|
|||||||||||||||||||||||