Axel Schick's Q&A profile
.NET Development Problem in different Code on mail subject from pop3 server
I build a simple programto get mail from pop3 , but i have some problem I can get big5 and iso-8859-1 encoding by use "Ecoding.default.getstring(bype)" but Ths subject Like below that i still have no idea to get the originate format after try some method: 1.) = ISO-8859-1 B VmlzdWFsIFdlYiBEZXZlbG9wZXIgMjAwNSBCZXRhMiBSZWdpc3RyYXRpb24= =vwd05reg@response.microsoft.com 2.) = big5 B RmV2YSBXb3JrcyC3c6xLrNu7RaRAqOg= = 3. ...Show All
Visual Basic Adding rows to a database
Hi all, I've got a question that hopefully someone can help out with. I have created a simple datatable in a SQL database called 'PeopleTable'. It consists of 3 columns (Number, FirstName, Surname). Basically i want to add new 'people' to this the table in my dataset and resolve it back into the database. I can do this this and it works but it is doing something funny so im obviously missing a step somewhere. Heres my code.... Priva ...Show All
Windows Forms Refresh Designer at Design Time?
Hi, I’ve created a simple user control which resizes its height automatically according to the image size loaded by a user at design time. After loading the image my control resizes but the control selection area doesn’t resize automatically - only when I click on the control. My control also has a custom control designer which restricts the control user to set the user controls height at design time. ...Show All
Visual Studio Team System Webtest "hangs" while Submitting
Actually, it appears to be hung before the request is sent, because the Request Detail window says "Request not yet submitted". I've got a webtest where, on a specific page, it always "hangs" while executing... The main Test Progress window shows "Submitting" under the HTTPStatus column, and it stays this way for at least 4 or 5 minutes. Test Results pane shows the test as "In Progress". If I try to start the test again, I c ...Show All
Visual Studio 2008 (Pre-release) xaml in IE6 only animates on startup screen on multimonitor
I'm wondering if this is just a problem with my setup or if others have this problem. If you have a multi-monitor setup Take a xaml file like this: < StackPanel xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " TextBlock.FontSize = " 18pt " > < UniformGrid Rows = " 3 " Columns = & ...Show All
.NET Development Updates are not written to the database - please tell me why!
I am at my wits end! I am creating a simple web application in Visual C# 2005 Express Edition Beta 2 by dragging a table from a data source onto a windows form. I have reread numerous articles on MSDN but with the exception of adding a try block this is as far as I can tell all I need to do to create a working form. When I run it all looks good, I can edit fields and click on the save (disk) icon. But when I look in the database again - it is u ...Show All
Visual Studio Express Editions Sending decimal data to serial device
I got a lamp controller, which can be connected with computer through serial port. The device is very simple, when decimal value 129 will be sent lamp 1 will be lighted and when value 1 will be sent lamp 1 will be turn off. I tried with MSComm32.ocx but device is not working. Can anybody help There are several posts over the past few days dealing with serial ports - they seem to be very popular. You don' ...Show All
Windows Forms MIDI in VB .NET
Hello All, I need some help. I've worked in MIDI for several years and I'm very interested in attempting to write an app that will generate MIDI notes according to some specific parameters. I'm relatively new to programming (VB .NET...8 months or so ...Show All
Visual C# How to: Write an ActiveX object in C#?
I know ActiveX is kind of stoneage but I have to write one... So. How do you go about writing an ActiveX object (not neccessarily a control) in C# This example http://www.c-sharpcorner.com//Code/2003/March/ActiveXInNet.asp is not a real ActiveX object it doesn't register itself in the registry. This example http://www.devhood.com/messages/message_view-2.aspx thread_id=16569 doesn't work. I dont think you can bu ...Show All
Windows Forms ClickOnce app not recognized as one
I start a ClickOnce application by a registry entry. Doing so, it is not recognized as a network deployed application ( ApplicationDeployment .IsNetworkDeployed returns false). Starting the same application with the application reference works fine; A pplicationDeployment .IsNetworkDeployed returns true. Is there a way to start a ClickOnce application in another way then by the application reference (and still have the benefits of a ClickOnce a ...Show All
SQL Server The Poor VB6 guy - database help
I have a production applicaton today ran by 120 businesses across the nation. Today our application is a VB6 front end with an Access 2000 backend. The problem. Access 2000 is suffering from corruption every once in a while. our users are running 1-8 computer systems at a time on the access database. We want to move to something that will allow our users to run 10 computers simultaneously if needed. Question.. What do we do for a ...Show All
Windows Forms Protecting ClickOnce Web Deployment via windows authentication
I have a clickonce application deployed to a web server with which I have 2 issues 1. I cannot restrict access to the .application file to only registered users of a certian group (like EPHMC\Accounting) 2. The .exe.config file is openly viewable to anyone (the web.config is properly blocked, but for some reason the .exe.config is served up as normal) All I can find on the internet is information about CAS which is protecting the user f ...Show All
Visual Basic Regular Expression: Removing All Lines NOT Containing a Specific String
I know how to remove all lines in a file that contain a specific string using the IDE Find/Replace dialog and Regular Expressions For example, to remove all lines in a file containing the string ABC, you can use: Find: ^.@(ABC).@$\n Replace: (nothing) What I'm trying to figure out is how to do the opposite and remove all lines NOT containing ABC. Any ideas Thanks. Thanks Ja ...Show All
Visual Studio Express Editions XML Documentation
I have just finished a project in beta 2005 of VS. I have generated the XML Documentation file, which is obviously not very readable. I have tried using NDoc to compile it, but this does not cope well with generics or inface .NET v2.x. Are there any programs that will compile this into a nice format Cheers, Chris I heard very useful information that Microsoft will provide alternat ...Show All
Windows Forms Improve Drag and Drop ToolStrip
Dear all, My application can allow users drag and drop items (images) from Listview to Toolstrip, However, I only can add items in Toolstrip orderly. So I want to improve my application can be perform manipulation (same Microsoft office): 1. Toolstrip allows drag and drop items from listview to Toolstrip any position. 2. From Toolstrip user can be drag and drop ...Show All
