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

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

macthefork

Member List

dba_sql
cPrince
monchhib
Franco22
s.sanya
Escape
Stanomatic
Shaun Bowe
chandu_sanka
GameDog
CharlieRussell
kryptonneke
DQM
ReneeC
Forch
Sean ORegan
M.D.A
sea2006
Demonslayer
tribal
Only Title

macthefork's Q&A profile

  • .NET Development How to Find Yesterday's date

    Hi, I have a need to find yesterday's date. A datasource our app needs requires us to FTP a file from a remote server to the location where it is processed. The naming convention used on the file is filename.Mddyyyy . (filename.8242006, for example). The filename is constant. The catch is the file is created at 10PM and not made available until 2AM, so just doing a straight ToString() on "today's" date won't work because it will always be the "next" day : string date; date = thisDate.ToString( "Mddyyyy" , DateTimeFormatInfo .InvariantInfo); We use the filename.Mddyyyy to tell our FTP service which file to download. I've got to use yesterday's date to FTP the correct file. Any idea how to do ...Show All

  • Visual Studio Express Editions Please help

    i am using visual c# expres edition and after devoloping my project, now, when i change a parameter, ex: label's text, and compiling project, the label's name doesn't change..it keeps the old text..what can i do what is wrong "now, when i change a parameter, ex: label's text" This statement is not clear, Can you please elaborate! You are changing text of a label or what Thanks!!! ...Show All

  • Visual Studio Team System TFS Trial CALs

    How many users can access the TFS using the TFS trial version A few clarifications- Each Team Edition (Architect, Developer, Tester, Database, and Suite) comes with only one CAL for Team Foundation Server. The Workgroup Edition of Team Foundation Server will never allow more than 5 users to have permission to access the system. If you have more than 5 users who need to access TFS, you need to purchase the Full Edition of Team Foundation Server. Once you acquire the Full Version, you should just need to perform a repair install from Add/Remove Programs on the AT and insert your Full Edition key. According to our " How to Buy " page, the estimated retail pricing is $2,799.00. However, you ...Show All

  • .NET Development storing image file

    how to insert an image.jpg file into a sql server database, i want a sample code. tried this Dim theContent() as byte = {} 'database stuff theContent = theReader.GetValue( FieldIndex ) replace "FieldIndex" with the column number to get the image data from when using the DataReader to read data ...Show All

  • Smart Device Development Opening XML File on Pocket PC

    I'm trying to load an xml file in Pocket PC, but its giving me DirectoryNotFoundException. I know why the exception is occuring becaue Pocket PC file structure is not like the local Drive system we have in windows. I'm trying to do the following to resolve the exception but it still does not works: String path = Environment.GetFolderPath(Environment.SpecialFolder.Programs) + "\\MyPocketCal2003\\QuantitiesUnits.xml"; String path = Environment.GetFolderPath(Environment.SpecialFolder.Programs) + "\\MyPocketCal2003\\MyPocketCal2003\\QuantitiesUnits.xml"; Please suggest a solution. I couldn't find the file in the File Explorer, may be I was looking wrong but the file is part of the project ...Show All

  • Visual C++ MSDN Forum Problems

    Last week i had some problems in posting my replies to MSDN forums. Yesterday one of my post were automatically posted and even I could not edit or delete it :( What could be wrong I tried with both Firefox and internet explorer to post my answers. I believe this not the problem at my end. Even if error page displayed. some of my answers were already posted to the forums Is there any problem with Forum Servers I noticed this problem for a long time. When I press 'Post' an error message page is displayed, saying that an error occured, but after refreshing the thread's page I see the post published. ...Show All

  • SQL Server Dervied Column - Expression?

    Hi: I have a Dervied Column Component, in which there is a column called RecStatusCode. The criteria to give a value to that column is below in SQL: (SELECT CASE CertParticipant WHEN 'Y' THEN 'C' WHEN NULL THEN 'A' END FROM [dbo].[SchoolCertRequest] WHERE SchoolID = (SELECT SchoolCode FROM [WebStrategy].[LAF].[LoanApplication] WHERE LoanApplicationID = @LoanApplicationID) and SchoolBranch = (SELECT BranchCode FROM [WebStrategy].[LAF].[LoanApplication] WHERE LoanApplicationID = @LoanApplicationID) AND LoanType=(SELECT LoanApplicationTypeCode FROM [WebStrategy].[LAF].[LoanApplication] WHERE LoanApplicationID = @LoanApplicationID)) My question is how can I use this SQL in that expression field, or is it possible to have a u ...Show All

  • Windows Forms PropertyGrid control isn't working once Dotfuscated

    Hello MS Community, I'm currently having trouble with getting my PropertyGrid control to work in my Dotfuscated build of my C# Windows Application. The control works just fine with the normal build but when I run Dotfuscator Community Edition on my project and run the newly created .exe, it seems like my PropertyGrid doesn't want to work at all. When it's time to execute the code that sets the selected object of the control, the .exe UI doesn't do anything, the PropertyGrid control is just blank. But it works fine before I Dotfuscate the project. FYI, I'm using VS2005. Any help is appreciated. - Chris Chris89 wrote: I'm currently having trouble with getting my PropertyGrid control to wo ...Show All

  • Community Chat taskbar color

    alright i've been searching around for a while and still havent found much. does anyone know a way to change the color of the taskbar to some color that isn't XP set, like black iv read up on this and there were 2 solutions, 1,third party software;2,"hack". Well considering that there is 3rd party software, there should be a way to change it programmaticly. so does anyone know how or at least what programming language this can be done in Clinto, try this link to hack uxthreme.dll http://weblogs.asp.net/cumpsd/archive/2004/09/01/223996.aspx ...Show All

  • Visual C# overloading == operator in c# fails checking for null values

    Hi, I have developed one class called CProductInfo providing == and != operator features. I have one problem. When I use this class in my program, say CProductInfo product = null; and later, when i check for emptiness, if (product==null) it returns false as if the product instance is not empty. I tried various ways to eliminate this run-time error, but it just does not happen. Also I don't think there is use full tips on net for this. Can someone help Thanks in advance - Constantine <<<< THE BRIEF SOURCE CODE FOR CProductInfo IS BELOW >>>>>   using System; using System.Data; using System.Data.SqlClient; using MyDataLibrary; namespace ProductManager2006 {  public ...Show All

  • Visual C++ Problem with combobox in the toolbar

    I created a class CStyleBar derived from CToolBar and I added a combobox to that class I Override the OnCreate handler like this int CStyleBar::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CToolBar::OnCreate(lpCreateStruct)==-1) return -1; if (!LoadToolBar(IDR_STYLEBAR)) return -1; SetButtonInfo(0,ID_STYLE_FONTNAME,TBBS_SEPARATOR,500); CRect rect; GetItemRect(0,&rect); rect.bottom=rect.top+500; //rect.right=500; if (!m_tbFontFace.Create(WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT, rect, this , ID_STYLE_FONTNAME)) return -1; FillFonts(); } where ID_STYLE_FONTNAME is the id of the only button in the toolbar and FillFonts() loads all the f ...Show All

  • Visual Studio 2008 (Pre-release) Duplex client connects

    Hey, I have question about clients of a duplex service. Does each open duplex channel count against the maxconnections (when the channels are idle) So say I have ten clients with duplex channels to a service but there are no service calls going on the channels at the time, does that still count as 10 connections (or are connections only opened for the service call and client callback) Also, maxconnections defaults to 10, but what's a realistic hard limit for the number of connections It is probably affected by many factors, so I'm only looking for an order of magnitude answer (100, 1 000, 10 000 ). Lastly.. what's the throughput like for MSMQ I know it's not really WCF related but maybe someone here knows anyways Thanks guys ...Show All

  • Windows Forms Authenticating an SMTP Client.

    I have a section of code that allows a user to send an email to me. (I am using MSN's SMTP server). It returns an error: Mailbox unavailable. The server response was: 5.7.3 Requested action aborted; user not authenticated How do I authenticate my user I am pretty sure that after fiddling around that MSN does not allow SMTP to be used with my application. Even with the correct credentials set, it still does not allow the message to be sent. ...Show All

  • Visual C# Accessing directory with different credentials

    I have to get some info on files which are on another computer on my network. The problem is, I can't access this computer using my NT credentials as they are no good. I've used the DriectoryInfo class to access files located in \\Another_pc\D\Data\ How can I specify that I want to use another username/password to access this ressource Thks! you're right take a look at methods in NetApi32.dll and especially http://pinvoke.net/default.aspx/netapi32.NetUseAdd - there is sample that could help you HTH ...Show All

  • Visual Studio 2008 (Pre-release) Resend a message when a fault occurs

    If my WCF client is getting a FaultException from the server, I want to display a Messagebox which displays the error messages and asks the user if he wants to retry the operation. I want to do this in a way that is transparent to the caller of the service (that means I do not want to wrap every call to the service into a while(!retry){} loop). I have successfully set up a IClientMessageInterceptor which displays a message when the call is faulting, but I fail when I want to resend the message. There seems to be no way to get a reference to the ServiceChannel from where I could send the message. Did anyone implement such a pattern already Or does anyone have a tip for me where to look I would be grateful for any help. Urs ...Show All

©2008 Software Development Network