Software Development Network Logo
  • SQL Server
  • IE Development
  • Smart Devicet
  • Game Technologies
  • .NET Development
  • Visual C++
  • SharePoint Products
  • Visual Studio
  • Visual Basic
  • VS Team System
  • Microsoft ISV
  • Windows Forms
  • Visual FoxPro
  • Visual C#
  • Windows Vista

Software Development Network >> csi_hugh's Q&A profile

csi_hugh

Member List

EWANAME
Biggo
huabing78
AbelMorelos
Jason Jaegers
hye_heena
Peter Chapman
Toseef
RGosling
nbrege
Lugaidster
.neo
Stephan Smetsers
ellen_89
OldPivot
geovana costa rocha
Philippe Cand
Ryan Sanders
Scott_t
AndrewBadera
Only Title

csi_hugh's Q&A profile

  • Visual C# "Smalltalk’s object-based hierarchy does not work so well".Also c#??

    I read a book , "Thinking in C++".At pg:694( Introduction to templates) he writes: "The Smalltalk solution. Smalltalk (and Java, following its example) took a simple and straightforward approach: You want to reuse code, so use inheritance. To implement this, each container class holds items of the generic base class Object (similar to the example at the end of Chapter 15). But because the library in Smalltalk is of such fundamental importance, you don’t ever create a class from scratch. Instead, you must always inherit it from an existing class. You find a class as close as possible to the one you want, inherit from it, and make a few changes. Obviously, this is a benefit because it minimizes your effort (and explains why yo ...Show All

  • Visual Basic how to parse a resume document

    in my windows application i need to parse a resume and fill the details in some text boxes and listboxes can any one help me how to solve this problem ahmedilyas wrote: AFAIK, you would probably need to use some MS Word Interop to read word documents. If its an RTF document then you can load this and do all your parsing etc... using the RichTextBox control, however the control will not read Doc files. I thought I would give you some head start on where to start looking from :-) AFAIK , can u help me a little moure plz ...Show All

  • Visual C# C# translation help

    Can someone please translate this Visual Basic code to C# for me ================================================================== Public Shared Function Login( ByVal Username As String , ByVal Password As String , ByVal Connection As String ) Dim Conn As OleDbConnection = New OleDbConnection( String .Format(Connection)) Dim SQL As String = "Select Count(*) As Answer From [users] WHERE [username]='" _ & Username & "' AND [password]='" & Password & "'" Dim Comm As OleDbCommand = New OleDbCommand(SQL, Conn) Dim dr As OleDbDataReader Dim counter As Integer = 0 Dim err As String = "" Dim answer ...Show All

  • Windows Live Developer Forums embed ve in c# project without UI

    I'd like to use VE to validate addresses in database without UI. Is it possible VE is geared more towards the mapping of positions in a web page.  You might find that using a geocoding service would be more appropriate.  Products MapPoint, MapInfo Envinsa, Maporama, and ESRI ArcWeb Web Services all provide a geocoding web service interface. ...Show All

  • Visual C# What is the default Mail Host in System.Web.Mail.SmtpMail.Send

    Hi, I was previously using System.Web.Mail to send an email. It worked great. Now I have to use System.Net.Mail due to some additional functionality requirements. I am having to specify the mail server now, whereas previously I didn't. I want to specify the mail server in the same way as System.Web.Mail. I can't figure out what is the default Mail Server name. Any one know this I tried specifying "localhost" and got an Exception : Error sending mail.   Thanks.   Dwight ***Old*** public void SendEmail(string To, string From, string Subject, string Body, System.Web.Mail.MailFormat Format)         { System.Web.Mail.MailMessage Mailer = new System.Web.Mail.MailMessage(); ...Show All

  • SQL Server How to Deploy .mdf Files

    Hi Guys, I have a problam. I wanna deploy my application that it has data.mdf file. When I install and test it I get this message: --------------------------- Microsoft SQL Server Login --------------------------- Connection failed: SQLState: '42000' SQL Server Error: 5133 [Microsoft][SQL Native Client][SQL Server]Directory lookup for the file "C:\Program Files\MyDic\Database\Data.mdf" failed with the operating system error 5(Access is denied.). Connection failed: SQLState: '42000' SQL Server Error: 1832 [Microsoft][SQL Native Client][SQL Server]Could not attach file 'C:\Program Files\MyDic\Database\Data.mdf' as database 'MyDic'. --------------------------- OK   --------------------------- I have to mention that: ...Show All

  • Visual Studio Express Editions Changing a URL in a webbrowser

    I have this webbrowser and have the default page on it. Could i have a address bar so i type in the URL in the address bar and click go and it'll change the URL in the webbrowser I'd probably combine the textbox keypress event as well as a Go Button in the same application to ensure that it works when you press the go button or simply press enter at the end or your entered URL. ...Show All

  • Visual C# Overriding equals

    Hello, I was reading “Guidelines for Overloading Equals() and Operator == (C# Programming Guide) <http://msdn2.microsoft.com/en-us/library/ms173147.aspx>”. As a general rule should the derived.equals(base) yield true I guess if derived IS-A base then it should yield true According to their example the answer is yes. Thanks Houman Hi, Houman Actually, it is wrong logically . One thing can be cast into another one does not mean the thing is equal to the other. Especially, equal should always be each other like I have described above: "x.equals(y) must be same as y.equals(x)". A derived class instance can be cast into the base class, that is because the type is compati ...Show All

  • SQL Server Troubleshoot Distributed Service Broker App

    Hi There Ok i have done the following on my target instance i have created an endpoint, xml schema, message types, contact, activation sp , queue and service. On the initiator i have created an endpoint, a route to the target service, same xml schema, same message types, same contact, queue and service. When i try test this by doing the following: SET @msg = CAST ( @body AS XML ) BEGIN DIALOG CONVERSATION @dialogHandle FROM SERVICE [http://ewx.co.za/DemoInitiatorService] TO SERVICE 'http://ewx.co.za/DemoService' ON CONTRACT [http://ewx.co.za/DemoContract] ; SEND ON CONVERSATION @dialogHandle MESSAGE TYPE [http://ewx.co.za/DemoMessage] ( @msg ); END CONV ...Show All

  • Smart Device Development Compact Framework 2.0 Install Problems

    I have an iPAQ 2795 with Windows Mobile 5.0. ActiveSync has never worked for me, that is a separate issue. For this reason I install all programs on it by first obtaining a .CAB. I put this .cab into a .zip and post it to my local website. From there I use pocked ie to download. I exctract this zip on my mobile device with functionality built into the Resco File Explorer. I have verified that Resco is extracting files without issue from a .zip. With the .cab file on the mobile device I simply double click and the install starts. Everytime I do this I see the following message: "Installation of CF.cab was unsuccessful". CF.cab is file "NETCFv2.wce5.x86.cab" simply renamed. Using cgacutil.exe I can see that Comp ...Show All

  • Microsoft ISV Community Center Forums How do I write this!!

    I have data in a list listed like this: a 12345 name address ect. b 12345 name address ect. c 12345 name address ect. d 12345 name address ect. e 12345 name address ect. I need to move the data parallel. B at the and of a, c at the end of b ect. Only if the account numbers are the same! But b always has to start in q and c always has to start in U ect. Because not every account will have all a through e. Some will only have a,b,c,e ect. But c always has to start in a certain cell. And when the cells are moved the letter and account number has to be removed except for the very first letter which would be A. Any help would be greatly appreciated. I am not very literate when it comes to vba. Thanks Neal. ...Show All

  • SQL Server Template Explorer - Changing file location / Removing Defaults

    I have been unable to remove the default list of SQL Server Templates from management studio. I don't really care about the ones already in there, but have hundreds of my own that i would rather be displayed. I don't like searching through the 25 different folders that microsoft already has out there cluttering up my own folder structure, and would like to see them disapear, however after deleting them, they just come back next time i open up management studio. Does anyone know how I can remove the default templates, or change the template location to point somewhere else so i don't see them in the explorer list anymore Thanks in advance, Chris I tried to change my common location by changing every reg entry ...Show All

  • SQL Server Transform-Pivot in SQL Server 2005

    Is there any equivalent for Transform-pivot of MS Access in SQL Server 2005 I have this query in MS Access that I need to migrate to SQL Server 2005 TRANSFORM Sum ( CD1 ([CheckAmount])) AS [The Value] SELECT "Total Amount of Checks" AS Type, tblResult.AccountNumber, tblResult.CheckDate, tblResult.Status, Sum ( CD1 ([CheckAmount])) AS Total FROM tblResult GROUP BY "Total Amount of Checks " , tblResult.AccountNumber, tblResult.CheckDate, tblResult.Status PIVOT IIf ( IsNull ([statusdate]), "Outstanding" , Format ([StatusDate], "Short Date" )); Table columns: Autonumber,AccountNumber ,C ...Show All

  • Visual C++ how to disable the /clr option in VS.net 2005?

    I don't know how to turn the /clr off. Thanks! ...Show All

  • .NET Development C# + Access Database Problem

    Here's my issue. I have a program in C# that creates and track help desk PC tickets.It saves and loads data from an Access database that I created. Everything works great, but I have recently decided that I need to add some more things like the ability to input the date that the customer was called on the form as well. So what I am trying to do is create another couple of colums in the already exsiting database using Access, then create textboxes on the form and have them link to the new colums in the database. The best I have got so far is to create a new database, but I don't want to have to retool the entire form all over again if I can help it. So, my question is, simply put, is there any way to update a Access database already in use ...Show All

©2008 Software Development Network