|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
WPF and codeBehind file problem....
Marko Vuksanovic -
19 Aug 2006 9:55 PM - 1 message
I have built an WPF application that gets links to photos from a web service (flickr) and used the following code to achieve it: <Button HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="31,10,39.0000000000001,17" Width="Auto" Height="Auto" x:Name="Button" Content="Get Photos" RenderTransformOrigin="-0.462962962962963,-0.40625" Grid.ColumnSpan="1" Grid.RowSpan="1" Command="{Binding GetDataCommand, Mode=Default, Source={StaticResource PhotosCollectionDS}}"> ...
Question about ObservableCollection and images
Marko Vuksanovic -
19 Aug 2006 2:09 PM - 2 messages
I am trying to implement an obesrvable collection that a WPF application ca use to generate images. The code I have made by now is shown below: I have the problem with image.StreamSource=new Stream(url)... The "url" is the location of the image which has to be fetched.... but I'm doing something wrong as I cannot load the string itno the stream source. Anyone knows what I am doing wrong? Also if you see any other problems with the code,.. do let me know (as there are, I guess, a lot....) ...
any web site that accepts free ware sample codes or tools
Leon_Amirreza -
19 Aug 2006 2:04 PM - 3 messages
If you have want to put some code under open licence or publish as free ware or .... any useful links??! thanks ...
RE: Please help *PLEASE PUT ME ON YOUR EMAIL LIST*
Wardy -
19 Aug 2006 1:19 PM - 1 message
This is a message board for framework related chat not your personal spam box !!! GET LOST ! ...
.Net Source Code
Leon_Amirreza -
19 Aug 2006 1:16 PM - 3 messages
Is .Net calsses' source code available (like mfc) to study or to help debug applications? ...
TreeView
Leon_Amirreza -
19 Aug 2006 8:08 AM - 5 messages
I need to show more that 1,000,000 nodes in a .Net forms tree view control i dont think its a good idea to load the whole data at once in the tree view of course the data is load a from xml stream the load time is very fast but ...
.Net on Linux vs .Net on Windows
Leon_Amirreza -
19 Aug 2006 5:56 AM - 4 messages
does microsoft take part in making .Net for linux or is it just implemented by others? and how much compatibiliy should i expect? in other words how much change should i expect to get the the code written in windows .Net to run on Linux .Net?? ...
Lonely Heart
MeYou -
19 Aug 2006 2:34 AM - 1 message
Lady talk 24-Hrs +91 9810577227 OR email to i***@lenstar.org ...
How to Embed a Cursor
bern11 -
19 Aug 2006 1:10 AM - 2 messages
How do you embed a cursor in a project and use it? I created a cursor in a project, I can use it using the Cursor(String) constructor, but I cannot get it to work with the Cursor(Type,String) constructor. I'm ...
Socket connection aborted by host
Harv Hundal -
18 Aug 2006 11:38 PM - 2 messages
I am using a Socket object in syncronous mode in VS2005 C# using .NET framework 2.0. The socket is receiving data from a remote device which does not support a full-fledged TCP/IP stack, but the basic functionality is ...
Proper way to check that a numerical range "is valid"
illegal.prime -
18 Aug 2006 10:31 PM - 2 messages
Hey all, I have an app, that could take two numbers of any type of numerical type int, long, double, float, uint, ulong, etc. I want to check that the numbers are part of a range that I consider "valid". ...
New Version Number
Thom Little -
18 Aug 2006 10:21 PM - 2 messages
I have a released .NET 2.0 windows application (version 1.0.0.0) that is written in C#. The solution has a project and a setup project. It works great. I made some tweaks to the application and want to release it as version ...
problem reading data from dataTable..
Marko Vuksanovic -
18 Aug 2006 9:45 PM - 2 messages
I am using the following code, and would like to check what is stored in each dataTable (dt) row and column,.. unfortunatelly I cannot figure out a way to do so... How can i get a value from specific row and column? for example row0, and column0... ...
How to read the information from the XML stream?
Marko Vuksanovic -
18 Aug 2006 7:44 PM - 4 messages
I have the following string: <photo id="218644972" owner="81716338@N00" secret="e7e02342ba" server="60" title="Phil in Riverside (6)" ispublic="1" isfriend="0" isfamily="0" /> How can I get the id, owner, secret, server and so on to a variable, or a dataTable/dataSet? ...
Printing problem with 2.0 Framework?
Schemer -
18 Aug 2006 5:58 PM - 2 messages
Hello, We have some test apps that print images to file using various printers. The test app runs as expected under the (default) 1.1 Framework. When we try to run with the 2.0 framework, we get "The handle is invalid" errors. ...
Changing Threadpool MaxWorkers
Michael D. Ober -
18 Aug 2006 4:40 PM - 1 message
Several questions: Can the MaxWorkers value of a threadpool be increased while threads are running in the pool? If MaxWorkers can be increased, will the threadpool immediately check for and start queued work requests? Can the MaxWorkers value of a threadpool be decreased while threads are ...
rastreadores GPS Ratreador gps localizadores bloqueadores 4565757
rastreador gps rastreadores gps de =?ISO-8859-1?Q?Ve=EDculos?= -
18 Aug 2006 1:58 PM - 1 message
CENTRAL ÚNICA DE VENDAS 10 Marcas de ratreadores, Compare e Compre. Rastreador de Veículo Rastreadores de Veículos Rastreador GPS ...
How to update one cell while other are same in datagrid?
DotNetGuru -
18 Aug 2006 11:15 AM - 1 message
Hi to All I'm new to this group I've little problem scenerio is... I've datagrid with 5 cloumns what I want is just update the 4the cloumn's cell value if first two are same by adding the new one value ...
to hide navigation pane from .chm file but not permanently.
deepkaur5 -
18 Aug 2006 9:06 AM - 1 message
Hi I am working on windows application and using .chm file to show help file in the forms required . I want to hide the navigation pane in the left side of .chm file not permanently but on some forms and ...
ExecutionContext in Multithreading
Marc Mertens -
18 Aug 2006 8:12 AM - 1 message
Hallo, can someone point me to some good articles on some of the new features in dotnet 2.0 concerning multithreaing, I think of the ExecutionContext, HostExectionContext and HostExecutionContextManager manager class. Sadly they are not very wel documented in the framework help. ...
Component UI CAB Architecture Guide??? For Dummies Book? :-)
Spam Catcher -
18 Aug 2006 4:18 AM - 1 message
Is there a "For Dummies" guide to the Component UI Application Blocks (CAB)? CAB seems to do what I need for a new application I'm building... but the documentation provided with the Quickstart is a bit mediocre (I hate VS.NET ...
Force "pre-JIT" on idle thread?
pdxfilter-google -
18 Aug 2006 2:18 AM - 6 messages
We have a "heavyweight" Windows Forms app that uses several large dependent DLLs containing various UI components. There is a significant delay (~2 sec) when loading a form the first time. This comes from the CLR compiling the form methods as well as ...
ComboBoxColumn = Slowww
Daniel Manes -
17 Aug 2006 11:03 PM - 4 messages
I have a DataGridView with about 450 records. There are five columns: three ComboBoxColumns and two TextBoxColumns. When loading the Form, even after all the BindingSources are filled, it still takes a long time before the data shows (and I'm running on a pretty fast machine). ...
Secure Key Storage
Vikas Manghani -
17 Aug 2006 7:35 PM - 3 messages
Hi I have to encrypt and decrypt some data for which I have to use a symmetric algorithm. I want to store the key securely. I know this can be done in hardware as well as software. But I am only ...
Unable to access Web Services from Windows Application
Paul -
17 Aug 2006 6:52 PM - 1 message
I am using .NET 1.1 with SP1 under windows xp with a dialup connection and I cannot access ANY webservices on the internet. I can access them if they are on the localhost via IIS. I have searched the web for others that are experiencing this problem ...
Intriduction to Design Patterns in C# sample code
Ginny -
17 Aug 2006 5:42 PM - 2 messages
Hi, I am using a pdf, "Introduction to Design Patterns in C#" by James W Cooper, IBM T J Watson Research Center. Can some please let me know from where can I download the source code mentioned in the pdf, i mean the sample ...
WMI Events being recorded in MOM 2005
David Jessee -
17 Aug 2006 2:58 PM - 1 message
I can instrument my apps and emit the data through WMI without a problem. I have an instance of MOM 2005 watching the application and its recording the performance/instance/event information without any problems at all. So, here's the question.... ...
Slow Downloading
rony_16 -
17 Aug 2006 2:32 PM - 1 message
Hi, I have a problem downloading a file . after i connect to the website and get the stream , i treing to write the file on the HD. public void SaveStreamToFile(string filePath, Stream stream) { ...
Very long first cold startup problem
Lloyd Dupont -
17 Aug 2006 12:41 PM - 5 messages
A cold start of my application takes about 15 seconds. Further startup takes only 1 seconds. After a reboot other cold start takes less than 15 seconds, perhaps 3~4s. I tried to improve cold start by NGEN everything in the installer. ...
drawing on the desktop ?
Steve B. -
17 Aug 2006 8:47 AM - 3 messages
Hi, is it possible to draw on the desktop (like a "dynamic" wallpaper)? I'd like to add system informations and custom enterprise data. Thanks, Steve ...
Problem with 1.1-based service on 2.0 box...
intrepid_dw -
17 Aug 2006 5:40 AM - 1 message
Hi, all. I have written a .NET 1.1 based System Service which installs and runs perfectly on my intended target host (another .NET 1.1 box). However, I've discovered that one user is having trouble installing it on a box ...
Histogram
praneshrj -
16 Aug 2006 9:44 PM - 3 messages
Hi all, Does anyone know if there is a way to create a histogram in .NET framework? Or should you start from the scratch? Thanks, Pranesh ...
Fully trust digitally signed assemblies (redux)
BilalD -
16 Aug 2006 9:44 PM - 1 message
Hello all I'm bringing a topic back from the dead. It's been a while, but this solution is just not working. Here is the URL for the initial issue. I could'nt find the link by searching thru the managed groups search feature ...
Wait for all ThreadPool workers to complete
Michael D. Ober -
16 Aug 2006 9:36 PM - 8 messages
I have an application that needs to limit the number of simultaneous threads that are executing at any given time. The threadpool appears to be ideal for this. However, I need to have my Sub Main wait until all queued workers ...
.NET Xml question
Roy -
16 Aug 2006 8:50 PM - 2 messages
I have an xml file with the data types for elements and attributes defined in xsd. If I load the xml in XmlDocument, How do I get the element and attribute values in its >NET types. For example, I have an Age (could be element or ...
Exe + dll system.management.dll
sudha.akella -
16 Aug 2006 8:18 PM - 5 messages
Hi all, I am new to the .net framework. Created a windows application(ui) and added the references system.management.dll and system.windows.forms. The exe is build and runs very good. but I want run the exe on any machine which does not have visual studio ...
aspnet_setreg
justin.mayes -
16 Aug 2006 6:46 PM - 1 message
Is there any way to have aspnet_setreg pull data from AD directly or somthing? I want to automate the building of my servers using scripts but i do not want those who are running the scripts to be able to see ...
Trace Listener LogFilename not working
Tim Johnson -
16 Aug 2006 4:21 PM - 1 message
I'm using .Net v1.1 and trying to use a TraceListener to write to a file. I've done a #define Trace so extra listeners will work, as documented. My customFileListener just inherits from DefaultTraceListener and sets the ...
VB.NET Express speed issue
Ali Chambers -
16 Aug 2006 4:20 PM - 2 messages
Hi, I've written a programme that processes stock market price data in VB.NET 2005 Express. I've optimised the code as much as possible, eg:- using arrays, not passing parameters to functions, etc... The code is slow because it is processing large amounts of data many ...
Application changes propagating through the system
NormD -
16 Aug 2006 3:01 PM - 13 messages
We've had several instances where changes made in a system seem to take noticable time to propagate through the system. Is this normal? Is there a way to force things to happen? In one case the developer modified the configuration file on the server. ...
Strange behaviour from StarProcess - Does not open IE for download
michele -
16 Aug 2006 2:25 PM - 3 messages
I have an app that uses the startprocess command in order to download another clickonce app. On the majority of the client PCs everything works fine, however on some PCs the startprocess doesn't open the browser window so the ...
Error Description: ORA-03106: fatal two-task communication protocol error
vivek -
16 Aug 2006 1:15 PM - 1 message
Hi, I'm getting this oracle error intemittently Error Description: ORA-03106: fatal two-task communication protocol error. I'm not sure what is causing this. My application is a ASP.Net 2.0 application is using Microsoft Oracle Provider to connect to the oracle database. This ...
forms authentication
Milton Snider -
16 Aug 2006 1:10 PM - 2 messages
I installed visual studio 2005 and created a website. I turned on the forms authentication and allowed the system to create the aspnetdb.mdf file for me under the App_Data directory. Everything works fine locally running the site locally with the sql server express edition. However, when I publish ...
Best practices for mixed access (users in active directory/external)
joachim -
16 Aug 2006 12:54 PM - 1 message
Hi, can anyone point me into the right direction to find best practices for setting up a website in a DMZ. Users in our active directory domain should be able to access it without authentication (which actually means that they should get access through integrated windows ...
Alternative for the Shell command
Craig HB -
16 Aug 2006 11:01 AM - 2 messages
I am using Microsoft.VisualBasic.Interaction.Shell to shell out to an external file. Is there another or better way to do this that is not VB specific. Thanks, Craig ...
help converting c# to c++?
Joel -
16 Aug 2006 10:53 AM - 12 messages
Is there any way to convert this code to c++ from c#? System.Web.HttpContext.Current.Session["CookieContainer"] = outputChannel.Options.CookieContainer; Thanks in advance. Regards Joel ...
maintaining a .NET Platform
danielsanberger -
16 Aug 2006 10:42 AM - 1 message
Hi all, I am new to a division of a big company that is hosting applications. They got the .NET platform since some weeks. What is important about hosting .NET-applications, especially ASP.NET with SQL Server in general. Where can I find out about it? ...
ADSI Question
Vikas Manghani -
16 Aug 2006 10:16 AM - 1 message
Hi While using Active Directory, there is a setting which specifes that when a user's password is going to expire, a warning message should be shown to him 'x' days before expiry. I think it is called 'Interactive Logon'. For e.g. in ...
Windows Service that is listening
Leszek -
16 Aug 2006 9:36 AM - 5 messages
Hello! I'm trying to create some kind of agent. It will be a Windows Service, that will listen on specific port and doing specific job sended to him. Can someone give me links to informations how do this? What I must find in ...
how to obtain regional settings
Emby -
16 Aug 2006 2:06 AM - 2 messages
Is there a way in the .NET framework to determine Windows Regional Settings? Items like Dimensions (CM or Inches), decimal symbol, digit grouping symbol, time formats, date formats, etc. I've done some digging, but come up empty. Thanks ...
Assembly.CodeBase // Getting it statically without object instantiation
sloan -
15 Aug 2006 8:55 PM - 3 messages
Here is the msdn code for getting the .CodeBase property of an Assembly Assembly SampleAssembly; // Instantiate a target object. Int32 Integer1 = new Int32(); Type Type1; // Set the Type instance to the target class type. Type1 = Integer1.GetType(); // Instantiate an Assembly class to the assembly housing the Integer type. ...
WebBrowser control and clearing/deleting cookies
Rod -
15 Aug 2006 8:29 PM - 1 message
I have an application that uses an instance of the WebBrowser control. This WebBrowser instance stays active and is never closed while the application runs. I need advice on how to delete the cookies used by the WebBrowser control. The plan is for the application to "timeout" after a short time (30 ...
ClickOnce App Won't Start
kelly.harrison -
15 Aug 2006 8:27 PM - 4 messages
I've got a client with a computer on which no ClickOnce app will start when run with a URL command line. The OS is Win 2003 Server. If I try to run an app directly from the user's cache (<user dir>\Local ...
readonly List as a property, how can I achieve this?
ThunderMusic -
15 Aug 2006 7:56 PM - 3 messages
Hi, I have the following : private List<int> _myList = new List<int>(); public List<int> myList { get { return _myList; } } What I want is that the user cannot modify the content of the list, it can ...
Dialing a modem and playing a soundclip from c# web form code
Brent -
15 Aug 2006 7:38 PM - 6 messages
Hi, I want to recreate my own version of [link] .. So basically I want to start with a basic, make the modem dial a number and play a soundclip to the person that answers. Can someone point me in the ...
Please help - Error 1335 when installed .net framework sp1?!?!
netrate -
15 Aug 2006 6:55 PM - 2 messages
I cannot get past this message when trying to install SP1 for .net framework usingXP pro. Error 1335 : The cabinet file "PCW_CAB_NDP" is corrupt and cannot be used. I need SP1.1 .net framework for my NLE to work, without the service ...
Listing the dlls used by a .NET app and static linking
James A. Bowery -
15 Aug 2006 6:05 PM - 2 messages
Is there a tool that lists out all the .NET framework dynamically loaded libraries that are going to be loaded by a .NET exe? Also, is there an easy way to statically link a .NET application so that the .NET framework doesn't need to be installed on the target ...
2.0 System.Configuration (.dll)
sloan -
15 Aug 2006 3:54 PM - 4 messages
Can the new version of System.Configuration in 2.0 .. use config files besides app.config or web.config ? Aka, is there an overload/constructor somewhere that takes a fileName ? I've searched the documentation, but there are some many new classes in ...
How to read large text file ?
elena -
15 Aug 2006 3:45 PM - 3 messages
Hi, All I have text file ASCII with record length of 388 bytes, no record delimeter and size of the file is 562477780 bytes and 1449685 records all togeter. How can i read such file record by record ? Please, help ...
XlsTransformation generates InvalidProgramException
pvotava -
15 Aug 2006 3:03 PM - 3 messages
I get following errors from my webapplication after running the code when strXmlData string is about 60kB. Smaller one run fine... Where is the transformation limit? It is problem in NET20 - transformation ran without errpr before upgrading the code. xXslDoc.LoadXml(strXmlData); ...
Threads and CallContext problems
Troy -
15 Aug 2006 12:00 PM - 1 message
Hi When upgrading from .net framework v1.1 to v2.0 i ran into a little problem regarding the CallContext method. I have enclosed an example that illustrates my problem. When compiling in v1.1 it works fine, the Test.exe will print out ...
Hex numbers in NullReferenceException error message
Ian Payne -
15 Aug 2006 11:13 AM - 3 messages
My app is reportedly throwing an exception with the following error message: A managed NullReferenceException occurred at Application ::Run+Oxf Application::Run+Oxf delcollectForm::Main+Oxa I am unable to replicate this problem. Simple question: what do the hex numbers refer to? are they line numbers? & ...
MSHTML.DLL
Chris Evans -
15 Aug 2006 6:16 AM - 2 messages
I am using MSHTML.DLL from a .NET v.1.1 Application. I noticed that the application is loading both the .NET Framework 1.1 AND .NET Framework 1.0 (because of MSHTML.DLL). How do I stop this from ...
Validate XML before using it
Bob -
15 Aug 2006 5:56 AM - 5 messages
I am receiving XML (not a full document, just a node tree) from a remote party and then inserting it into my bigger XML document using XmlWriter.WriteRaw(). The problem is that sometimes the XML from the remote party has invalid characters (such as \x17, \x08, etc). It is a known bug ...
How to get an typed value for xml
Roy -
15 Aug 2006 3:39 AM - 1 message
I have an XmlAttribute defined in xsd file as a short. After I create an XmlDocument and add an element to it, I create an attribute for the element and I set the value of the attribute as "3". However, the TypedValue in the ...
hints on how to deal with Yahoo mail and links (.NET 2.0)?
Rob R. Ainscough -
15 Aug 2006 12:36 AM - 2 messages
I'm using .NET 2.0 (VS 2005) on a web server. I have some links I put in HTML based Email, yahoo mail seems to want to replace parts of my links with [link] -- this is causing problems for my ...
Problem reading half-duplex virtual serial port with SerialPort cl
snake_2k -
14 Aug 2006 9:05 PM - 5 messages
I am using the new SerialPort class to read from several different pieces of hardware. I have gotten it to work with devices that conect using both real and virtual serial ports, but I have a piece of hardware that the serialport ...
Tracing framework code
Maxim -
14 Aug 2006 8:30 PM - 4 messages
Hello, everybody. Can I trace framework code while debugging my application. For example I'd like to find out how BindingSource processes OnChange event because I'm experiencing problems with it and I don't understand how it works exactly. ...
Threads named __addlocaleref
LPJJ -
14 Aug 2006 8:24 PM - 1 message
Hi, my application use to have more than 20 threads in average named __addlocaleref in suspended state. Each one of this threads allocates 1MB of memory (I suppose that it is for the thread stack), and threads use to start and die sometimes. ...
Pointed in the right direction?
Eric Cathell -
14 Aug 2006 7:50 PM - 8 messages
I am planning on writing an application that has some base functionality...for instance a basic PIM. But I want to be able to add functionality to this PIM in the future...but I want to do so in the form of ...
get login of members in group
Casey -
14 Aug 2006 6:00 PM - 4 messages
Hello all! I'm attempting to write a method that will return an arraylist of security group members. So, what I'd do is pass in a group and return an array. The problem is, I can't figure out how to return the nt login (CORP\username), ...
DEVMODE Structure from C to C# something is missing
ThunderMusic -
14 Aug 2006 4:46 PM - 2 messages
Hi, I have a structure I have to use called DEVMODE for when I want to call EnumDisplaySettings. you can see the C struct at the address below : [link] ...
Which is the sequence of events when using ShowDialog()?
SammyBar -
14 Aug 2006 4:10 PM - 2 messages
Hi all, I'm having troubles with a Symbol 9000 device (Compact Framework v 1.1) when activating the barcode scanner from a window. The problem is related to the Activated event of the form which carries the task of the initializing the ...
DeSerialization callback and member objects
ktrvnbq02 -
14 Aug 2006 3:37 PM - 5 messages
Hi, I have a serializable class that has a NameValueCollection as a member object. As part of the deserialization process, via a callback during deserialization, the class needs to call various methods on the NameValueCollection. This is currently failing due to the internal ...
XML document question
Lloyd Dupont -
14 Aug 2006 2:19 PM - 6 messages
I have a class which looks like that: class Stuff { Dictionary<string, object> properties; List<Stuff> children; } I'm writing a home made XML 'serialization'. I quote that, because it's not serialization, I'm writing the XML writer ...
How to capture a Report File Added Event?
Imayakumar -
14 Aug 2006 6:39 AM - 1 message
Hi, Currently I am developing a Visual Studio Add-In. In that, I have to capture the event when a .rdl file is added to a Report project. My code is as follows, public void OnConnection(object application, ext_ConnectMode connectMode, ...
bindingRedirect in App.config
tcw -
13 Aug 2006 9:44 PM - 2 messages
I would like to use different versions of assembly libraries in the runtime. Does <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" /> work with any program, like command line and windows service? "1.0.0.0" and "2.0.0.0" are just examples. Thank you in advance. ...
web service question
Gabriel -
13 Aug 2006 4:22 PM - 5 messages
Hello, I'm trying to do my first web service. It's a small test, a method receive 2 int and return the sum. The client is a winforms application. That's work fine but the form freeze during the web service answer. ...
Fail to run service on Microsoft windows server 2003 after 2 hours
Niron kag -
13 Aug 2006 8:43 AM - 1 message
hi, I wrote a windows service in c# in .NET 1.1 and SQL Stored Procedures, and I run it on Microsoft windows server 2003 service pack 1. The service works every 10 minutes and pass data between SQL tables. ...
|
|||||||||||||||||||||||