|
tech
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
General .NET discussionmicrosoft.public.dotnet.general
MAB -
24 Jun 2006 4:27 PM - 2 messages
I need to create a service (or something else) to monitor the coming and goings of files (& possible folders) beneath a root folder. This service need to know the path/FileName of any new files so it can add data to a ...
andrewcw -
24 Jun 2006 1:24 PM - 6 messages
I have a VB 5 module that duplicates the FCIV.exe from Microsoft. I need to move an application forward to C#, but the samples for MD5 hash using the framework I tried gave different hashes. What do I feed the framework and ...
Pitaridis Aristotelis -
24 Jun 2006 11:42 AM - 4 messages
Is there any way to create setup for a project made in Microsoft Visual Basic 2005 Express Edition ...
william -
24 Jun 2006 2:36 AM - 10 messages
You guys are a great resource for learners such as I. I have seen the way that you go over and above in explaining even the most mudane things to beginners, and I think it is a great thing that you do here. I only hope ...
Nathan Sokalski -
23 Jun 2006 11:16 PM - 3 messages
The last two lines of code in the Click event of a Button Control on my page are: Me.WelcomeEmail() Response.Redirect("mainmenu.aspx") The last line of code in Me.WelcomeEmail() is: Mail.SmtpMail.Send(mailmsg) When the Click event is triggered, all of the code in Me.WelcomeEmail() is ...
Mike Johnson -
23 Jun 2006 9:08 PM - 2 messages
I would like to know. How can you fill in fileds on a form from another application using VB.net? ...
Nick -
23 Jun 2006 8:29 PM - 2 messages
I was wondering other opinions on this topic... I am working on an n-tier application which may be broken out to different servers at a later date. How should I go about the validation? I would like to assume that the UI ...
ridpathh -
23 Jun 2006 8:07 PM - 3 messages
Hello, I am looking for an answer to a dilema that has stopped my development cold. I have a Windows Service object running that has registered a WellKnownObject and has opened a tcp channel. I have a Window Form that uses ...
Thomee Wright -
23 Jun 2006 6:04 PM - 4 messages
I'm developing a client/server application (in VS2005 managed C++) which makes use of .Net remoting. A simplified solution which demonstrates the problem I'm having can be found at: [link] ...
Brian Cahill -
23 Jun 2006 5:09 PM - 2 messages
Hello, I am trying to create a variable when my form loads which can be used when I click my buttons. Here is my code. What am I doing wrong? Thanks for any help. Private Sub Connect_Load(ByVal sender As System.Object, ByVal e As ...
Paul Phillips -
23 Jun 2006 4:36 PM - 4 messages
Has anyone been able or is having trouble with setting the Content-Encoding to a value in the headers collection of an HTTPWebRequest object. I am trying to post a RosettaNet message to a trading partner that is using webMethods server. The message gets to their server just fine but it is not ...
Nick -
23 Jun 2006 3:57 PM - 3 messages
Is there an easy way in VB.NET 2.0 to lookup a SID when given a username? If so could you provide an example. Thanks... ...
Mike -
23 Jun 2006 3:48 PM - 2 messages
Hello all, I'm new to vb.net and I was hoping to get a little help. I am trying to write an application where you can select individual files from one directory and copy them to a target directory or drive. I was hoping to ...
nostromo -
23 Jun 2006 3:17 PM - 2 messages
Hi All. I wanted to get the word out about a .NET Training program located in New Jersey called SetFocus. The tuition for a three month program there is almost $20,000 and the teaching is abysmal. SetFocus ...
Mike Johnson -
23 Jun 2006 2:51 PM - 2 messages
I have the following code below. The objective is to change the forecolor of the item if the item being added is different from the last item. Well it's not working. When I step thru the code it's going to the correct areas when ...
vul -
23 Jun 2006 2:02 PM - 4 messages
I've got a request from my boss to give some users the ability to connect to SQL Server database while they are on the road. I'm VB6 and VB.Net (beginner) developer. Mobile devices were not bought yet. ...
Mike Owen -
23 Jun 2006 1:49 PM - 5 messages
Hi, I am just about to write a registration screen for a web based application. I have seen and used registration screens that show the user a graphic containing randon text that they are asked to type in a box below the ...
rsine -
23 Jun 2006 1:07 PM - 4 messages
I have searched around a little and have yet to find a naming convention for the string builder object. I really do not want to use "str" since this is for string objects and thus could be confusing. Also, I would like a good source on the naming conventions to be used ...
a.frank81 -
23 Jun 2006 9:01 AM - 5 messages
I have problems with this Code: Public Sub SetPropertyValue(ByVal strPropertyPath As String, ByVal obj As Object, ByVal Value As Object) ..... Dim t_PropertyInfos() As System.Reflection.PropertyInfo = (t_obj.GetType).GetProperties For ii = 0 To t_PropertyInfos.Length - 1 If t_PropertyInfos(ii).Name = t_strProperty Then ...
batista -
23 Jun 2006 8:12 AM - 2 messages
Hello to all, I'm using the HScrollBar Control in one of my apps. Now the problem is how to detect that when did the scrollbar reached its right end or left end.? Please Any Suggestions.... Thanks... Cheers... Bye. ...
Chris -
23 Jun 2006 12:55 AM - 5 messages
Hi, I need to split a string by character so instead of Dim str() as str Dim sStr as string = "abcdef" str(0) = sStr.substring(0,1) str(1) = sStr.substring(1,2) str(2) = sStr.substring(2,3) str(3) = sStr.substring(3,4) ...
Chris -
22 Jun 2006 10:34 PM - 3 messages
Can someone help me convert thi to c# or vb.net Calculate() { int i, nLen, nSum = 0, nItem; nLen = m_csMessage.GetLength(); for (i = 0 ; i < nLen ; i++){ nItem = i%2 ? ((int)m_csMessage.GetAt(i)-48)*1 : ...
Abraxas -
22 Jun 2006 7:32 PM - 3 messages
Hi guys, I would like to create a .NET 2005 DLL (class) that could be referenced localy thru COM interop, and as a WebService. With other words my web application needs this DLL (directly referenced), my legacy application needs to access it thru COM (for integration purposes), and remote clients will ...
wheresjim -
22 Jun 2006 6:14 PM - 4 messages
I am trying this project out: [link] I am having difficulty building parts of it with Visual Studio .NET 2003 because of a post-build step that attempts to create a netmodule ...
Nick -
22 Jun 2006 5:56 PM - 2 messages
I tried to use the following code in MS VS .Net 2003 VS C++ #using <mscorlib.dll> using namespace System; but i get fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option. ...
Viviana Vc -
22 Jun 2006 3:34 PM - 5 messages
Hi all, I used until now Visual Studio 2003 and now I updated to Visual Studio 2005 and I have problems with the bookmarks. 1) until now if you had several bookmarks into one document, with F2 you were jumping from the current one to the next one, next one meaning the ...
Tony Hedge -
22 Jun 2006 3:12 PM - 3 messages
Hello, Framework: NET 1.1, Language VB So I am going through the basic walkthrough example in .NET on how to create a simple custom control. Takes about 2 minutes and when done I have a DLL that I can add to a toolbox in Web app. ...
gad -
22 Jun 2006 2:46 PM - 2 messages
I have a program that dial to a modem and and connect to it with a serial port and at command (VS2005 .NET 2.0). How do i enable TAPI communication in my progrem in order to log information to the Modemlog.txt file. ...
Steve -
22 Jun 2006 1:29 PM - 3 messages
Hi, Is their any way to setup VS such that it forces programmers to handle all exception (similar to Java). Thanks ...
jsh02_nova@hotmail.com -
22 Jun 2006 1:19 PM - 3 messages
Has anybody ever used custom attributes to implement a custom interface for a user defined type? thx -jsh ...
ESmith -
22 Jun 2006 1:18 PM - 2 messages
I want to create a small console application that essentially gets some information and then launches a Windows Application. What I want to do is have the console application launched in hidden mode - I know how to do this ...
RobOfTage -
22 Jun 2006 10:55 AM - 2 messages
Hi, I've recently downloaded MSDE and have tried to create a small app to test the connection. It fails at the Connections Open() method with an error indicating an invalid server version. I'm running on a standalone PC with ...
mauricis -
22 Jun 2006 8:47 AM - 5 messages
Hello. I have a WIN32 application with a very large number of dynamically created controls. Up to now I've been positioning them using: Control.Location = new Point(X,Y) but I've been wondering wether using: Control.Top = Y; ...
Janiv Ratson -
22 Jun 2006 8:08 AM - 8 messages
Hello, We are going to develop our application from scratch. The application is currently written for WIN32 users only, using MFC. The requirements asks that the application will run (in the future) on Windows, MAC and Linux. Is there any way to write all the code on the .NET Framework, or I should ...
liuage -
22 Jun 2006 3:04 AM - 2 messages
Hello. I have a strange question about send email in .net. I use the following code to send email. Sub SendMail(ByVal mailFrom As String, _ ByVal mailTo As String, _ ...
lluum -
22 Jun 2006 12:48 AM - 3 messages
Hello All, I have a newbie question on ADO. I understand that I can initialize ADO objects from the results of a query to a database, or from a csv file. I have an array of strings. How can I pump the array of string ...
SR -
21 Jun 2006 9:13 PM - 3 messages
What group would be best for posting a question about ASP.NET 2.0 using Master/Content pages? I am trying to assign a style sheet to a content page and I have no idea how to do so... ...
Back 9 -
21 Jun 2006 8:50 PM - 2 messages
Hi all, I would like to make a generic Queue arrry in C# like below. Queue<int> [] queue = new Queue<int> ()[10]; But the compiler keep complaining about the part and honestly I don't know ...
Rob R. Ainscough -
21 Jun 2006 8:21 PM - 7 messages
I'm not sure why I'm getting this error when searching thru my local hard drives using My.Computer.FileSystem.GetFiles? I've got FileIOPermissions set in code: Dim f As New FileIOPermission(PermissionState.Unrestricted) ...
Nick -
21 Jun 2006 6:55 PM - 3 messages
Is there a way to do declarative security on abstract classes? I am working on a data access layer and would like to place all permission requirements on the base class so all inherited classes contain the permissions. Is this ...
Smithers -
21 Jun 2006 6:01 PM - 28 messages
Until now I have worked on small teams (1-3 developers) and we've been able to stay out of each others way. Now I'm about to start work on a project that will have 5 developers. I would appreciate some guidance on how we can ...
L. Scott M. -
21 Jun 2006 5:46 PM - 8 messages
Have a quick simple question: dim x as string x = "1234567890" ------------------------------------------------------- VB 6 dim y as string y = format(x,"(@@@) @@@ @@@@") y is now ---------------------> (123) 456 7890 (think that is the correct VB 6 syntax) ------------------------------------------------------- VB NET ...
seanbrasher -
21 Jun 2006 3:49 PM - 3 messages
I've been asked to create an app that deploys in the way ClickOnce does, and updates itself silently, with no user interaction at all. Is this possible using ClickOnce or does the user always get prompted when a new version is available? ...
R.A.M. -
21 Jun 2006 2:56 PM - 5 messages
Hello, I have started learning .NET and I have general question: what are differences in applications of languages C# and VB? when to use each of these? Thank you very much /RAM/ ...
R.A.M. -
21 Jun 2006 2:47 PM - 2 messages
Hello, I have such question: is it possible to call from managed code a procedure from unmanaged DLL? Thank you /RAM/ ...
MDFS -
21 Jun 2006 1:20 PM - 3 messages
Hi, I was wondering if anyone has any information on the performance impact of using functions declared as overridable? To Explain more fully; By default every function created in VB is NOT declared as overridable. However 90% of the time when creating resuable ...
Cliff -
21 Jun 2006 1:17 PM - 6 messages
I have a Class FWControl defined in FWControl.dll (a .net class library). It doesn't inherit anything other than Object. FWControl has an event StatusChanged, which is actually raised in response to a file changing. The File is being watched with ...
feudalac! -
21 Jun 2006 12:56 PM - 2 messages
I have an app that uses MySql as a data source... I would like to embed a SQL database into the app so it could be used without a database server connected to the network. I couldn't find any examples so i'm asking hele... ...
herbert -
21 Jun 2006 11:44 AM - 19 messages
The SerialPort class in .NET 2.o is buggy, has misleading and incomplete documentation and should by no means used for LOB / mission critical / factory automation projects! For example: mixing ReadByte() and Read(byte_buffer,offset,length) creates phantom data! Microsoft: scrap it! Redesign and rewrite a serialport class that ...
Waldy -
21 Jun 2006 11:21 AM - 4 messages
Hi there, I added an app.config file to a .DLL project, but the code does not read the values from it. I understand that these files are ...
Jack -
21 Jun 2006 9:49 AM - 2 messages
Hi, I'm having problems installing the 2003 enterprise developer update cd, error messages 1935 or 2908 show after less than a couple of minutes. This is very frustrating, has anybody got any advice? All suggestions are welcome, thanks. Jack ...
veerleverbr -
21 Jun 2006 7:48 AM - 3 messages
Hi, We have Visual Studio 2005 installed. We want to connect to a NT CVS through the protocol SSPI. When looking in the menu Tools -> Options -> SourceControl in Visual Studio 2005, it is clear that there is no ...
Rupesh -
21 Jun 2006 4:43 AM - 2 messages
hi all, i am working on datagrid, i need to capture the row in datagrid whenever we have double clicked on it. plz guide how to do that thanks & regards, Rupesh ...
Fir5tSight -
21 Jun 2006 3:56 AM - 8 messages
Hi All, I used the following code in C#: using System.Drawing; //blah blah blah Bitmap bmp = new Bitmap(); bmp = (Bitmap)image.GetImage(); I got the compiling error: "'System.Drawing.Bitmap.Bitmap()' is inaccessible due to its protection ...
las -
20 Jun 2006 11:51 PM - 2 messages
I am transitioning from the COM world to .Net, and can't find an answer to a fundamental question. How do I late-bind to classes that did not exist at the time I wrote my application? I don't need to be spoon fed how to do it, but am having trouble ...
Jessard -
20 Jun 2006 11:36 PM - 4 messages
Hi all, Can anyone give me an example of how to change what code the designer will generate when creating a typed dataset using the VS wizard? I have been informed that this is possible but have no idea where to look to be able to ...
Back 9 -
20 Jun 2006 8:44 PM - 6 messages
I try to insert try/catch statement in every single method of my c# code to prevent the app from crashing not nicely. Do you think it is good idea? I remember that an artical says " do not overuse try/catch " but I don't ...
PhillipLad -
20 Jun 2006 8:03 PM - 2 messages
Hello, I am using Visual Studio .NET 2002, but I want to be able to use some of the features in the .NET 2.0 framework like System.Collections.Generic. I updated my computer to the 2.0 framework, but in Visual Studio .NET, I am ...
Christopher Carnahan -
20 Jun 2006 6:02 PM - 3 messages
I need to figure out how to terminate a thread while it is blocked trying to create a COM object via interop. In a worker thread, I do something like this: Type t = null; Object activatedObject = null; ...
alexander.glass -
20 Jun 2006 5:39 PM - 3 messages
I have a strange problem and I cant fix it because I don't understand how assembly dependencies work. I created a project "project 1" that used two assemblies: "assembly xyz" and "assembly 123". I create a new ...
Larry R -
20 Jun 2006 5:36 PM - 3 messages
I am trying to use a config file to determine which class to use in the following statement: Dim tp as new TimePeriod ' this is a class that uses a strategy pattern tp. SetTimeStrategy ( new HourStrategy) 'HourStrategy is a ...
Mike Johnson -
20 Jun 2006 4:55 PM - 8 messages
How do I remove a item that's been selected from a listview? I'm using Visual Basic 2005 express edition. Thanks ...
Will Asrari -
20 Jun 2006 3:33 PM - 4 messages
I am working on a project now for a client that requires all managed code. I have rewritten about 60% of the code and functionality in C# and have now come to the complicated part of picking apart the existing stored procedure ...
Tobin -
20 Jun 2006 3:17 PM - 5 messages
Hello, I'm developing production software in VB 6 sp5. We are looking to convert our software to visual studio 2005. Resources are limited and I would like to install 2005 on the same machine but am concerned about any components ...
Shak -
20 Jun 2006 2:42 PM - 8 messages
Hi all, I'm trying to write a thread-safe async method to send a message of the form (type)(contents). My model is as follows: private void SendMessage(int type, string message) { //lets send the messagetype via async ...
cody -
20 Jun 2006 1:58 PM - 2 messages
I have a baseclass named Entity. All stuff like Customer,Invoice,Article and so on will derive from this class. I have fields in the base class like "tablename" and "primarykeyname" which is used to create the database operations on the class. ...
Scott R -
20 Jun 2006 12:25 PM - 3 messages
I have purchased the VS 2005 professional upgrade. I would like to remove VS 2003 prior to installation. If I uninstall VS 2003, how does VS 2005 know I qualify for the upgrade pricing? ...
ramesh -
20 Jun 2006 10:53 AM - 5 messages
Hi all, I am facing a problem with the rendering of html into a windows application (C# .NET). I am trying with two possible approaches: 1. Use a control that directly renders the html into windows form, but it should not be dependent on IE or mshtml. I didn't get such kind of ...
Alan Gillott -
20 Jun 2006 8:50 AM - 7 messages
Can anyone tell me the catch in VB.NET 2005. I've been trying to figure it out from the marketing gobbledegook. The biggest catch i can find is the reference to one click deployment (as meaningless a phrase as i can think ...
rajesh -
20 Jun 2006 7:06 AM - 2 messages
hi can anyone send me code for doing the chat applicaion in asp.net webform using remoting. ...
Bruce HS -
20 Jun 2006 12:01 AM - 2 messages
Report designer gives you lots of nice ways to build queries, add parameters, filters, etc. However, I need more control of the query at run time. Can my VS 2005 VB WinForms application call an .rdl report stored on the server, and supply the ...
ben.s.carlson -
19 Jun 2006 10:30 PM - 3 messages
Hi, I'm sending a file to the browser using asp.net, and I want it to open up in excel. The dialog box pops up, but when I press the open button, the file opens up with a [1] appended to it. That is, if my file is ...
JLuis Estrada -
19 Jun 2006 10:24 PM - 2 messages
Hi there. Id tried to find information about how to set up the remote debugging on win2003. I have a PC with winxpsp2 with VS2003 installed. And I developed an winservice app that runs on the server. This servers is fara way from here. Buts its visible over internet. ...
newbie120 -
19 Jun 2006 9:46 PM - 6 messages
Hi all maybe its just been a long day, but i have a question about call access modifiers in C#. Consider the following code. namespace Application { private class Class1 { int i; ...
Chris -
19 Jun 2006 8:54 PM - 3 messages
Hi, I have been stuck trying to come up with a design for days. I am working on a small project regarding barcode and I want to implement a factory design. I am now confused. I decided factory pattern since I am dealing with EAN13, UPCA12 UPC8 etc. ...
Jerry Derringer -
19 Jun 2006 8:46 PM - 3 messages
Our company just upgraded to VS 2005 (and by the way, I love it!) I was able to migrate the code for our product from VS2003 to VS2005 with only a few snags, and it's working great now. However we are trying to come up with a ...
Mike -
19 Jun 2006 7:47 PM - 3 messages
Can a vb program running as a serice not use network paths to do file/io? I can't seem to get my program to work with network paths and files. When I use local disk it works fine. When I run it as a none service program it ...
Mike -
19 Jun 2006 7:25 PM - 5 messages
Hi all, I have a vb.net program running as a service that uses a network path to query a file. If System.IO.File.Exists(fpath & "\" & filename) Can anyone tell me why the above isn't working? When I place it in a none ...
Erik ETS -
19 Jun 2006 7:19 PM - 4 messages
I need some symmetry between my development environment and my running web site. The root of my web site is [link] while the root of the project in my local development environment is http://localhost/myproject/, ...
maflatoun -
19 Jun 2006 6:43 PM - 2 messages
Hi everyone, I'm looking at replacing the current Blog engine on our website with another one that would require users to login first before posting a comment since we're getting too much spam. We're currently using DasBlog which works great except anyone can post comments. Is there a ...
kplkumar -
19 Jun 2006 6:02 PM - 2 messages
This problem is really weird, I generated a stong name key called myKey1.snk and signed my dll and installed it to GAC. The public key token was something like e36633e879d21f40 on my machine but different on my collegue's machine, ...
Martin Hart -
19 Jun 2006 5:24 PM - 3 messages
Hi: I have a project that references some in-house assemblies, and in the 'debug' configuration I use the debug versions of these assemblies, but when I switch to the 'release' configuration, I want the solution to use the 'release' versions of the referenced assemblies. ...
rob -
19 Jun 2006 3:38 PM - 12 messages
I have the following scenario. A user requests some math calculations from a server. The data and a library of basic formulas reside on the server. Now the user should be able to create more complex formulas based on the basic built in formulas as well as other complex formulas ...
Dick -
19 Jun 2006 3:04 PM - 5 messages
Please can you show me how to unit test the following class... Friend Delegate Sub Delegate1() Friend Class Class1 Private m_Delegate1 As Delegate1 Friend WriteOnly Property Delegate1() As Delegate1 Set(ByVal value As Delegate1) ...
Shak -
19 Jun 2006 2:37 PM - 7 messages
Hi all, Three questions really: 1) The async call to the networkstream's endread() (or even endxxx() in general) blocks. Async calls are made on the threadpool - aren't we advised not to cause these to block? 2) You can connect together a binaryreader to a networkstream: ...
Sajit -
19 Jun 2006 11:40 AM - 6 messages
Hi, Could anyone provide any suggestions on how to implement localization features for a multilingual website. Before you jump the guns, let me define the site structure a little more. We have a global site and around 40 country sites. Each of these country sites have localised information both in the native language (fr,de,de-at,it,ar,ar-ae etc). Also, each of these local country sites would have an english counterpart (fr-en,de-en etc). Currently, we do not see how we could define the resource files for the english version of the regional country sites. The issue being that there are no 'cultures' defined as 'fr-en' or 'en-fr'. Is there any way we can map an existing resource file somewhere within the server and use it within my application without copying the files to my App_LocalResource folder? ...
Water Cooler v2 -
19 Jun 2006 11:09 AM - 4 messages
When you place controls on the Windows form, there's a grid of dots on the form that defines the drop/alignment matrix. In Visual Studio 6.0 Enterprise Edition, you could change the size of the grid by going to the Tool->Options->General and putting in a higher ...
Guru -
19 Jun 2006 5:09 AM - 2 messages
I am creating a cookie when a person logs in which will keep track of the country the user is from. When I test it in the intranet environment a cookie is not created at all. But in an internet environment is works. Why? ...
Fir5tSight -
19 Jun 2006 3:03 AM - 3 messages
Hi, I'm sorry this may not be the right place for this topic. However, I don't know where else I should get help. Hopefully some people here can give me an answer on the following topic: How to compare two images in two PDF files to see if they are ...
Guru -
19 Jun 2006 1:14 AM - 4 messages
How do I refresh GridView using CallBack? I am populating the grid at runtime using OLEDB. ...
Guru -
19 Jun 2006 1:12 AM - 4 messages
I have an interesting problem. I have a link button on a webpage with VB as code behind. When the user clicks on the link button I have to 1. Save the record 2. Popup a window for the user to add some extra information ...
Rob R. Ainscough -
18 Jun 2006 4:15 PM - 6 messages
I'm using a BackgroundWorker to perform a file download from an ftp site. Per good code design practices where I separate my UI code from my core logic code (in this case my Download file method in my FileIO class) I've ...
source_acct -
18 Jun 2006 2:52 PM - 3 messages
Can someone explain the function of a wrapper class and maybe an example? Thanks. ...
ljh -
18 Jun 2006 9:43 AM - 5 messages
Here is the code section I am getting an error on ------------------------------------------ 'create a watcher for each file type and hook it to the event subs Dim i As Integer For i = 0 To UBound(FileTypes) 'FileTypes is a string array with ...
ljh -
18 Jun 2006 6:35 AM - 11 messages
Google ran dry on me while looking for .Net examples of how to compare 2 Word Docs. Has anyone here seen anything like that? ...
|
|||||||||||||||||||||||