|
tech
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
General .NET discussionmicrosoft.public.dotnet.general
MaskedEditBox won't display any text...
Dennis K. -
7 Oct 2006 2:50 PM - 5 messages
I created a new VB.NET Windows Application and dragged a Microsoft MaskedEditBox onto the empty form (did not change any of the defaults). In Form1_Load I added the line... AxMaskEdBox1.Text = "14" ...
Multiple Edition management with VS2005
info@devdept.com -
7 Oct 2006 11:36 AM - 4 messages
Hi All, Here is the big question: Suppose to need to compile the Basic, Standard and Pro editions of you app. What will you do inside VS2005? (each edition contains a different set of file/classes but, obviously, the most are shared between each ...
SerialPort
Magne -
7 Oct 2006 11:05 AM - 4 messages
Using SerialPort ReceivedBytesThreshold = 1 Handling DataReceived event as: int noOfBytesInBuffer = myPort.BytesToRead; byte[] myBuffer = new byte[noOfBytesInBuffer]; myPort.Read(myBuffer, 0, noOfBytesInBuffer) noOfBytesInBuffer is always set to 8 in my case (the transmissions on the line are chunks of 8 bytes). ...
What is DLL base address
Newish -
7 Oct 2006 6:49 AM - 4 messages
Hi Regarding DLL base address: 1) What does it mean? 2) Should it ever be changed? 3) What are the rules to change it? It defaults to &H00400000. Regards Newish ...
Test Date
Larry Rebich -
7 Oct 2006 4:05 AM - 4 messages
In VB6 I could do something like: If dMyDate<=2 Then would return true if the date was not a recent date. How can I do this in VB2005? I've tried Cdbl(dMyDate)<=2 but I get an error message telling me I can't do ...
NG-style Messaging System For Windows Forms Application
Bob Johnson -
7 Oct 2006 3:26 AM - 2 messages
I'm looking to provide users of a new Windows Forms (2.0) app with a messaging system that looks and feels very much like a typical news reader. I understand that there are reference apps available for ASP.NET forums ...
Express Service Pack 1 Beta - To get it or not.
LouArnold -
7 Oct 2006 12:51 AM - 2 messages
Those who have already used the Service pack, please let us know what you think. What did they fix? What did they ruin? And...play nice, I'm Canadian. ...
currency code to symbol
pb -
6 Oct 2006 7:46 PM - 4 messages
If I have a currency code like "USD" or "EUR", how do I format a string from a decimal value that would contain the correct currency symbol? for example, if I have "USD" and 345.45, I want to see "$345.45", but if I ...
Sending email
Ed -
6 Oct 2006 7:07 PM - 3 messages
I have written an windows sevice and successfully installed it. I am not sure how to send email from windows service . I cannot do Dim varMessage As MailMessage = New MailMessage . It dosent recognize it. Any help ? Thanks ...
Need help with Serial port - PLEASE
ampeloso -
6 Oct 2006 3:14 PM - 4 messages
Hello, I am having a tough time reading from a serial port. My code allows me to ask the device for 255 bytes at 9600 baud.I have to do this many times to get all the data. 1. I make a call to the device. ...
COM interop
Ade -
6 Oct 2006 1:48 PM - 4 messages
I have a .net class that displays a .net form (1), when the user clicks a button on the form (1) an event is fired that is captured by a wrapping COM dll. The COM DLL instantiates another COM Class that shows a form (2). The ...
Urgent help in VS 2005 Setup project !!!
JM -
6 Oct 2006 10:29 AM - 5 messages
Hi Everybody, I have created a setup project in Visual Studio .NET 2005. The setup is for Windows application. It works fine but I am unable to do somethings is this: 1. The setup uses couple of files and dlls. There are 2 files: one is ...
Any Delphi Programmers? I need help big time...
Ming Yeung -
6 Oct 2006 6:18 AM - 6 messages
I was wondering if .NET had the equivalent of Frames, Global Objects, and most importantly DataModules like in Delphi? ...
Url Encryption/Decryption in DOT NET`
Charles -
6 Oct 2006 6:10 AM - 3 messages
Hi all... I am working in a Web based project...... I need to encrypt and Decrypt the Querystring ..contents .... the Encrypted Querystring should be short enough that it accomodates with in the Address bar...... Hoe could i do this....? Wat algorith should i implement to Encrypt and Decrypt ... to short ...
2.0: Build vs Rebuild
RAM -
6 Oct 2006 2:35 AM - 5 messages
Hello, I am learning .NET 2.0, Visual ... 2005 Express Edition. Could you explain me please the difference betwen Build and Rebuild commands? Thank you. /RAM/ ...
Login failed for NT Authority\Anonymous Logon
Adnan Al-Ghourabi -
5 Oct 2006 9:34 PM - 3 messages
Hi, We have an application running on IIS 6.0, on a windows 2003 box. The back-end database, a SQL Server 2000, runs on anohter server, windows 2000. We have enabled integrated authentication, and provided the windows account the appropriate permissions in SQL Server. ...
embed HTML table using VB
Rosau -
5 Oct 2006 7:49 PM - 3 messages
I am showing a table in a web page, I need help to email this table, please any sugestion ....? thanks!! ...
ApplicationSettings not Updated
Yehia A.Salam -
5 Oct 2006 7:47 PM - 5 messages
hello, I'm trying to save simple settingsof my application using the ApplicationSettings Class: public Form1(){ InitializeComponent(); Location = Properties.Settings.Default.FormLocation; Size = Properties.Settings.Default.FormSize; } private void Form1_FormClosing(object sender, FormClosingEventArgs e) { ...
get HTML code of table created dynamically ????
Rosau -
5 Oct 2006 7:46 PM - 5 messages
I create a table dynamically using VB, How do I get HTML code for that table into a string variable ??? any sugestion, Thanks ...
C++ Microsoft Forms Application 2003.NET - read-only text file dis
Steve Pike -
5 Oct 2006 4:48 PM - 3 messages
I am new to this Application environment, though not new to C++ or the Windows IDE. My task is to develop an ASCII file viewer. I am having difficulty finding an object that allows me to display the contents of an ascii file in 'read only' format in a Window. These files can ...
Help with encrypted web pages?
smerf -
5 Oct 2006 4:45 PM - 8 messages
I am trying to write a personal spider to crawl through websites and create a highly specialized personal list of sites and pages that I may like to see based on preferences that I have supplied. I have found some interesting ...
javascript confirm box in C#
manika02 -
5 Oct 2006 4:06 PM - 2 messages
Hi, I want to add a JavaScript confirmation box on a DropDown. I want to display the confirmation box only when a particular value is selected. I check this condition in selectedindexchanged event as below. As shown I try both ...
Install directory and setup & deployment
Guillaume -
5 Oct 2006 3:36 PM - 2 messages
Hello, In a setup & deployment project, is there a keyword representing the install directory of my .exe ? I need it to write in the registry the installation directory. Regards, Guillaume ...
Problems implementing Global Assembly
kashif456 -
5 Oct 2006 3:22 PM - 3 messages
Hi, I am trying to deploy a third party object into GAC and seeing some errors. Below is the code I have added in web.config Code: <httpHandlers> <add verb="*" path="LanapCaptchaImage.aspx" type="Lanap.BotDetect, ...
Run Asp.net 2.0 and 1.1 in IIS 5.0
KBSanjeev -
5 Oct 2006 12:50 PM - 2 messages
Hi, I have Win2k Pro with SP3+. This system had VS.net 2003 installed on it. Recently i installed Vs.net 20005 Professional on it. The installation was successful and i am able to create and execute Windows applications. But when i try to create and run websites, nothing happens. the browser ...
Html UTF to C# UTF
Yehia A.Salam -
5 Oct 2006 12:34 PM - 3 messages
hello, I'm trying to decode a string with this format "الانفال" to a unicode format, I tried the following code but it doesn't work: rname = rname.Replace("&#", @"\u"); ...
Running c# dll's from command line
Al -
5 Oct 2006 12:00 PM - 6 messages
Is it possible to call c# dll's from the command line? I am used to the Java world where classes are packaged in jar files which can either be accessed from an application or run directly with java.exe if there are one or more classes with main methods in them. So ...
User interface editor during installation
cashdeskmac -
5 Oct 2006 7:19 AM - 6 messages
I have scoured the net looking for a walkthrough showing how to get the details from a user interface editor page and use the settings in an application. For example, I have a dialog during installation which asks the user for ...
How to launch another application from my application
Darth -
5 Oct 2006 7:00 AM - 2 messages
Hi, I want to create a an application where I will add a list of some of the most used programs on my desktop and use it to launch those applicaiton directly from there. Can I do this using C# ? ...
Local Window Users + Authentication
Manish -
5 Oct 2006 6:15 AM - 2 messages
Hi, I require the C# code for getting all local Window users on any machine. Can someone help me. Futher, I will need that retrieved information for logging in my Window Application. Thanks in Advance, Manish Gupta cse.man***@gmail.com ...
Poor response on these newsgroups.
LouArnold -
5 Oct 2006 1:58 AM - 16 messages
I have posted several questions both in the forums and now in these newgroups. After a week of waiting, I have not gotten any responses except to go look for a VS 2005 service pack. I don't feel that my constructs are ...
Prevent access to a file (vc++, vc#)
SoxFan44 -
5 Oct 2006 1:52 AM - 2 messages
Hi, I was wondering if there way any way that I could write a program that would run in the background and prevent access to a specific file. I can't use Windows permissions. Thanks for any advice! ...
WinInet C# - InternetSetOption
Mateusz Rajca -
4 Oct 2006 11:22 PM - 2 messages
Hi! How can I code the Work Offline function using Wininet and InternetSetOption. I found some stuff in VB and Delphi but not in C# :-( ~Matt ...
using strongly typed dataset update problem
Scotty -
4 Oct 2006 8:39 PM - 3 messages
I get stuck to write an update, insert and delete command, i am looking for some help to start Whats the best way to update 2 tables toe the database (Access) below my code used to load my data.(2 tables) ...
Locate Link Browser message
Jason -
4 Oct 2006 8:01 PM - 4 messages
Hi, I built a vb.Net application that creates ICS calendar files dynamically and then sends them to the client browser as a downloadable file. Works perfectly except in the following situation. If the URL link to the web page is mailed to someone and they click on the ...
MainWindowTitle returns empty string
RMB -
4 Oct 2006 6:33 PM - 4 messages
Environment: FW 1.x VB.net When making a call to MainWindowTitle from a windows service an empty string is returned. All of the application processes being checked have UI with titles. If I run the same code from a test windows application, ...
Application Starting Point
Charlie Brown -
4 Oct 2006 5:22 PM - 3 messages
Good day, I have been tasked with a new application that needs to show a graphical representation of boxes on a shelf. It needs to have the ability to rearrange the boxes of different sizes by dragging and dropping them into place. Basically an updateable diagram of many ...
Standart practice on website source code
frogman7 -
4 Oct 2006 3:42 PM - 3 messages
I am new the the .NET enviornment. Is it standard practice to put the source code (.vb, .c, etc.) up on the web server with the aspx files? What are the pros and cons of this action? ...
Determining File Size In Code
Doug -
4 Oct 2006 2:40 PM - 3 messages
Hi, It looks like the only way to get a size of a file within dot net is to use FileInfo and the Length property. However that only returns the number of bytes in the file which is translating properly (I have a ...
Which design pattern for this problem?
pompair -
4 Oct 2006 1:02 PM - 4 messages
Hi, I'm making a a .net 2.0 gui application. In one screen the app needs fill a groupbox with many different kind of ui controls (listboxes, editboxes, comboboxes, labels, buttons) according to set of rules. So the question goes: What is the best design pattern for this kind of ...
Saving BMP as JPG/PNG in .net compact framework
Samer Awajan -
4 Oct 2006 11:53 AM - 2 messages
I am using .net cf 2.0 under windows ppc 2003. The documentation lists the it is supported to save a BMP images in a jpg or png format in .net cf 2.0. When I am doing this an exception "Not Supported" happens. ...
VB2005 - Setup Project => Add an uninstall icon in 'All Programs' ?
Screaming Eagles 101 -
4 Oct 2006 11:37 AM - 6 messages
Hi , not much trouble in making a setup project, but I'd like also an icon in All Programs to uninstall the application. I can't find a good explanation on the net so far... ...
Debugger showing wrong values for enum
Joanna Carter [TeamB] -
4 Oct 2006 11:15 AM - 3 messages
Hi folks If I write a KeyDown handler and check the KeyCode for Keys.Insert, the debugger shows the value as Keys.LButton | Keys.MButton | Keys Back | Keys.Space. This is perfectly understandable since Keys.Insert = 45 and 1 + 4 + 8 + 32 ...
Xp Apperance
Pure Heart -
4 Oct 2006 11:00 AM - 6 messages
hi haw can i know that the user changed the xp color from olie to blue or silver ? ...
You're good if you can answer this one.....
smerf -
4 Oct 2006 6:51 AM - 11 messages
Don't ask why (it'll just make your head hurt - I know mine does just thinking about the screwed up logic my manager has for this little project)......but I need to be able to tunnel a TCP connection through a UDP ...
How to speed up compile in VS 2005 IDE?
ABC -
4 Oct 2006 3:57 AM - 3 messages
How to speed up compile in VS 2005 IDE? Our solution have many projects, when I only modified a file, I want only to compile the modified project, not need to compile all projects. It spend time to compile all projects. ...
Path in a control in a master page does not work!
thejackofall -
4 Oct 2006 2:05 AM - 2 messages
I can use a good help here with what looks like a simple problem. I have a control called Header.ascx in /Control/System directory, where / is my web application directory. The header is used in a master page called MasterPage.master in the / ...
how to create a MDI child form in VS3
michael fienstien -
4 Oct 2006 1:23 AM - 3 messages
I can't find a setting to declare a MDI child form in Vs3. help! ...
Log-off detection by service
Tom Rahav -
3 Oct 2006 8:46 PM - 3 messages
Hello all! I need to write a service (which interfaces with driver) that detects when the user logged-on and off from windows. I need to do it in real-time. Does any one give me an idea of how to do this? I mean how can I detect in real ...
ListView Scroll Bar
Mike Johnson -
3 Oct 2006 8:35 PM - 7 messages
I have a ListView on a form, I'm displaying the items as a list. The Scroll is set to true. I want to know how can I set the scroll bar to Vertical? ...
Sending email through vb.net
Mark -
3 Oct 2006 7:36 PM - 2 messages
Using VB.net 2005, I am trying to send an email with attachments in Outlook. I have tried using this article from Microsoft, ([link]), but I can't even get the dim ...
Strange problem
Phil Hunt -
3 Oct 2006 5:49 PM - 3 messages
I have a VB6 application calling a .NET 20. web service. It is sucessful on 20 of all the workstation. However on one workstation I got this message "The Operation is only supported on Windows 200 SP3 or higher ...." The ...
Deployment Condition Statement for checking File Version?
Don -
3 Oct 2006 5:33 PM - 4 messages
I've added a Setup and Deployment project to my Visual Studio 2005 Windows Application solution and have several OCX and DLL files that will be installed. But I can't seem to find any examples in the Help and ...
Running Visual Studio.NET from a Shared Drive?
EdV -
3 Oct 2006 5:15 PM - 2 messages
My group builds and maintains PC based HW and SW for in house test systems. Currently we have a copy of VB6 on all the PCs and use it to troubleshoot code on the manufacturing floor. As we migrate to VB.NET from VB6 it does not appear to be practical or ...
An argument (okay a debate) with a developer
Highlander -
3 Oct 2006 4:55 PM - 17 messages
Hello all. I'm a systems admin and not a developer. I work in a large IT department with teams of developers. Currently we are asking them to develop a utility for us that will migrate code, among other things. ...
Argument with a developer
Highlander -
3 Oct 2006 4:30 PM - 8 messages
Hello all. I'm a systems admin and not a developer. I work in a large IT department with teams of developers. Currently we are asking them to develop a utility for us that will migrate code, among other things. ...
Working With .XSD Files...
Jason Richmeier -
3 Oct 2006 3:04 PM - 2 messages
As part of the project I am working on, I received a .XSD file defining the data layout for data that I will receive. When I open this file in Visual Studio, I get a nice pretty picture of how ...
Directory.Move
Martin -
3 Oct 2006 2:52 PM - 4 messages
Hi, Someone knows what happens in detail if Directory.Moves (.NET C# 2.0) throws an exception? Background: I'm stepping through all subdirectories within some directory (e.g. c:\test) and moveing all those directories to another location. If moveing ONE subdirectory fails I'm trying to move back all previous ...
Reporting a bug in .NET Framework 2.0 Configuration tool
Tim Van Wassenhove -
3 Oct 2006 2:39 PM - 2 messages
I was wondering where i could report a bug in the .NET Framework 2.0 Configuration tool. When i try to add a new Code Group, i'm asked the name of the new Code Group (supposed i enter MyCodeGroup) , when i complete the wizard, a ...
Crystal Report
bhaskar -
3 Oct 2006 7:33 AM - 2 messages
When I run a VB.Net app with Crytsal Reports using ADO.Net from the development machine it works fine.But when I make a setup package and install it onto another machine, everything works fine except the reports. The crystal report viewer is empty. ...
beginner: when to use System.Transactions?
RAM -
3 Oct 2006 7:19 AM - 2 messages
Hello, I am learning .NET 2.0 (ASP.NET, ADO.NET). I would like to ask experienced programmers when to use System.Transactions. One programmer told me that he never used System.Transactions, he only uses database transaction (SqlTransaction) and recommended me this method but he did not explained ...
Newbie: using asp.net 2.0 profile in an ASP.NET web service
Navin Mishra -
3 Oct 2006 7:08 AM - 5 messages
Hi, Is it possible to use asp.net 2.0 profile in an ASP.NET web service ? I want to authenticate a user via the web service and store user profile data using ASP.NET 2.0 profile ? Is it possible at all ? ...
How to find out by a dll that it is using by a web application or window application
anilkumarup -
3 Oct 2006 4:23 AM - 2 messages
Problem: I have to develop a component(dll) in C# for user management section. the component will serve to any type of apllication like web or window. Now the problem is in defining connection string (sql server). If dll will be able to find out that it is calling by a web ...
VB to C# converter
esha -
3 Oct 2006 12:16 AM - 11 messages
I tried several online converters. In many case they do the job, but sometimes give some mess. I think that all converters I know are old, were created for VS 2003 and do not understand new stuff from VS 2005. For ...
File IO for Text Replacement
LouArnold -
2 Oct 2006 6:28 PM - 5 messages
I have a need to replace text in a file with new text. The files may or may not be text files in the sense that there may not be "lines" and they may not contain printable characters. I tried the StreamReader and StreamWriter approach and the String.Replace ...
Missing attributes when postback Dropdownlist
LG -
2 Oct 2006 5:58 PM - 2 messages
I want to add attributes to a custom dropdownlist and I found some code on Internet that doesn't work after post back. First time the control has the attributes, but after postback the attributes are lost. It must be a bug in the code bellow. Can anyone help? ...
App Settings for assemblies.
Chris Dunaway -
2 Oct 2006 5:55 PM - 11 messages
I have an .exe console project and a class library project as part of a solution. The .exe has an App.config file and I have used the Settings page to add some Application level settings. When I try to retrieve a setting using this code: ...
Removal of pictures from server
dave schurr -
2 Oct 2006 4:29 PM - 2 messages
Is there a switch that i have to change to get front page 2002 to delete photos and other objects that have been deleted from the C drive where the web page resides? thanks dave ...
Any IVR SDKs that use .NET?
clintonG -
2 Oct 2006 4:04 PM - 5 messages
In the early 1990s there were quite a few Interactive Voice Response (IVR) SDKs that used VB for development. What happened to this category. Its like vanished. Does anybody know how IVR applications are built using .NET? ...
<asp:HyperLink> pop up message
illmagination -
2 Oct 2006 3:49 PM - 2 messages
Hi, I need to display a small pop up message warning the user is leaving the website. At the same time I need to also keep track of who is leaving the website. My problem is that I can't user javascript in ...
InternalsVisibleTo - Public Key Help Required
Mike -
2 Oct 2006 2:43 PM - 5 messages
Hi. I've strong-named an application using the 'Signing' option in project properties. Four friend assemblies exist in AssemblyInfo.cs, and look like this: [assembly: InternalsVisibleTo("Microsoft.Practices.EnterpriseLibrary.Logging.Tests")] After strong-naming the application my friend references are giving the error: ...
help getting fusion log viewer working
lf -
2 Oct 2006 2:20 PM - 3 messages
I am having a problem with an assembly mismatch, but have been unable to get the fuslogvw.exe to work so I can diagnose the problem further. I am using ..net 1.1 and have the "Log Failures" check box checked. However, when I run ...
OnShutDown does not work
Croco Stimpy -
2 Oct 2006 1:42 PM - 2 messages
I have a service that must know when the OS shuts down, so it can perform some cleanup. I just found that the OnShutDown event never fires when the machine shuts down! I did some checking and lots of others are complaining about the same thing. ...
1.1 equivalent for Drawing.Icon.ExtractAssociatedIcon?
Pieter -
2 Oct 2006 1:23 PM - 7 messages
Hi, I need to have the icon of the assembly that is calling my Control.Library. Using 2.0 Framework the "Drawing.Icon.ExtractAssociatedIcon" does the trick. But this fucntion doesn't exist in the .NET 1.1 Framework, and my control ...
Session lost when deleting a directory ion asp.net 2.0
vikram.lakhotia -
2 Oct 2006 12:47 PM - 2 messages
Hi Have you tried deleting a directory in Asp.Net. Here is an article discussing the problem deleting a Directory in Asp.Net [link] Hope this helps Thanks Vikram [link] ...
automaticly change mouse pointer into hourglass
Jan Heppen -
2 Oct 2006 11:43 AM - 7 messages
Is it posible to set something so that when my vb.net (visual studio 2005, framework 2.0) application is busy that the mouse pointer change into a hourglass ? Or do i have to set everywhere where my application do something ...
ASP.NET Configuration Tool error
Davie -
2 Oct 2006 8:16 AM - 2 messages
I get the following error while trying to access the ASP.NET Configuration Tool. I can't see what the issue is. I believe this uses the Cassini server, but how do I check the settings for this? ...
How to disable specific compile warnings in a web application?
badkarspiloten -
2 Oct 2006 7:03 AM - 3 messages
Hi there! I have just migrated from VS 2003 to VS 2005 and are getting lots of compile warnings when building my solution. Some of them I want to disable. I have managed to do this with my other projects (not web) by selecting ...
2.0: database application with transactions
RAM -
1 Oct 2006 7:03 PM - 7 messages
Hello, (Sorry for my English...) I am learning .NET 2.0 (C#, ASP.NET, ADO.NET etc.). I need to write a database application (SQL Server) consisting of a number of database transactions (like accounting system). Each of these transactions has enty in menu, parameters screen (.aspx page), some logic ...
changing server side technology and Search Engine Optimization
steven scaife -
1 Oct 2006 3:11 PM - 2 messages
Ok I know its probably not relevant here but i didn't know of a good place to post. I have been asked to develop a site in asp.net. The current site is written in PHP, if i change the server side technology to dot net will it ...
How to Read .CHM file using C# 2005
quicklearner -
1 Oct 2006 8:38 AM - 3 messages
hi I have made a CHM file and I have linked my .CHM file with the controls on the Form in my application which is made in C# 2005. Its working fine . But I want that if user presses 'F1' then when the help is opening i want the ...
|
|||||||||||||||||||||||