Software Development Network Logo
  • Visual C++
  • Visual Basic
  • Windows Forms
  • SQL Server
  • Visual Studio
  • VS Team System
  • Visual J#
  • Visual C#
  • Visual FoxPro
  • Windows Vista
  • Windows Live
  • VS Express Editions
  • Game Technologies
  • .NET Development
  • Smart Device

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

sdwillia

Member List

cipher nemo
Rizshe
Photodraw die hard
BareFootinBoy
Larry_Pope
megadith
vvgalc
Rinter21
SaiSankar
apk23886
MCMICKS
TrevorW
limelight
itchap
mbiddle
Mike Perri
Pieter
colinmit
KnightRider
The Happy Friar
Only Title

sdwillia's Q&A profile

  • Visual C++ locking example incorrect?

    In the helpfile, _locking function has an example which includes the line;    /* Quit if can't open file or system doesn't     * support sharing.     */    _sopen_s( "crt_locking.txt", _O_RDONLY, _SH_DENYNO,              _S_IREAD | _S_IWRITE, &fh );    if( fh == -1 )       exit( 1 ); The order of p ...Show All

  • Visual C++ About Power Save Function

    Hi, I would like to write a function for system power save after all job was done. I use "SetSystemPowerState" to do it, but the result is nothing to do. A part of coding as below: void CvcStandbyDlg::OnBnClickedOk() {  BOOL result;  char errs[20];  result = SetSystemPowerState(TRUE, TRUE) ;  if (result)   OnOK();  else  {   _itot(GetLastError(), errs, 10);   CWnd::Messag ...Show All

  • Visual Studio Express Editions sizeof(time_t)

    Hi Guys, I've wasted 2 datys trying to find out the reason for the crash when VC6 dll used VC7 dll exporting C API... The reason was in disaligment caused by pretty #ifdef introduced by the developers in the VS 2005... Actually I see no reason in forcing this time_t to be 8 instead of common 4... If someone wants to use 8, so, he can feel free to use 64 bit time value explicitly... I can't but consider this define as weird and dangerous, is ther ...Show All

  • Visual Basic Newby: Need help converting VBA script to VB 2005

    Hello, I am new to programming. The following script needs to be converted from VBA to Visual Basic 2005. Dim fileName1 = InputBox("Enter filename for filtering")       fileName2 = InputBox("Enter filename for output") Open fileName1 For Input As #1 Open fileName2 For Output As #2 Do Input #1, Data1 ' Gets number Input #1, Data2 ' Gets name Input #1, Data3 ' Gets model Input #1, Data4 ' Gets description Input #1, Data5 ...Show All

  • Visual Studio Express Editions argc, argv???

    Hi, I have just started coding and am using MSVC++ express, I have spent a while trying to work out how you set argc and argv, when they are used as 'main' inputs to your program..i.e. int main( int argc, char * argv[]) If anyone knows how this is done I would be gratefull for any help Thanks in advance.. Tom TAG275 wrote: Hi, I have just started coding and am using MSVC++ express, I have spent a while ...Show All

  • SQL Server excel column data

    im trying to access data in an excel spreadsheet using excel source component...the excel column is type of general and most of the data is numeric, some string..now, when ii hit the preview button, the string data would show up as NULL and the numeric data are correct...i've changed the excel column to TEXT data type and same result, how can i get the string data from this column OK..GOT IT, ADDING NMEX=1 IN TH ...Show All

  • Software Development for Windows Vista Getting Vista File Open dialog with .NET application

    Our application is written in C# 2.0 and using standard file open/save dialogs. In XP, these are pretty basic dialogs, but on Vista they remain the xp-style dialogs and not the Vista-specific open dialog. I've noticed with MFC based applications, if you use the common dialog you can get the Vista specific open dialog when running the same app on Vista. Any idea how we can get the OS-specific open dialog in C# ... if not possible withou ...Show All

  • .NET Development How to Handle relative URLs in HTTPWebRequest

    Hi, I am catching the request from browswers using HTTPListener object and then processing those requests through HTTPWebRequest and writing back the response using HTTPWebResponse classes. The problem is with relative links for images and other scripts. For example my listener gets a request for http:// www.yahoo.com/r/n , it process forwards it to the web server using HTTPWebRequest. Now the further requests having relative URLs for imag ...Show All

  • Windows Forms TaskVision: Danger of BadPractices

    Hi! Since TaskVision doesn't follow any of the Microsoft Patterns (as a matter of fact it doesn't follow any pattern at all, it doesn't even follow the  ADO.NET  API or WindowsForms.NET API) and so many people is downloading it, using it, and&n ...Show All

  • Visual Studio Team System Implicit constraints, Pre-defined constraints, User-defined constraints

    Please could someone explain to me the differnece between the following: Implicit constraints Pre-defined constraints User-defined constraints As I understand it, Implicit Constraints seem to be those that come with an object when you drag it onto the designer.  There is a list of implicit constraints, somewhere e.g. SupportsASPNET, SupportsASPWebApplications, SupportsStaticContent, AuthenticationModeConstraint.  Where in th ...Show All

  • Visual Studio Team System Messages Suppression

    Hello! At the moment we are trying to get rid of all the fxcop warnings in our project, but have three issues we can't resolve. 1. Is there any ways to specify all the message suppressions in one place (file) We need it because suppression attributes like this: [System.Diagnostics.CodeAnalysis. SuppressMessage ( "Microsoft.Security" , "CA2118:ReviewSuppressUnmanagedCodeSecurityUsage" )] make code complitely unreadable. We have opti ...Show All

  • SQL Server Reporting Services Key Management

    I have a situation where I need to delete the keys from my SRS install and have new ones created.  I see from here: http://msdn2.microsoft.com/en-us/library/ms162822.aspx   that I can use a -s switch but I don't have that.  I have this installed on SQL 2000.   Here are the options I have:   Microsoft (R) Reporting Services Key Manager Version 8.00.1038.00 x86   Extracts from the report server ...Show All

  • Visual FoxPro My form runs great inside of VFP, but has errors running from the exe...

    I have a form that uses a combo box for the user to select from. Their selection then is used as a basis for searching a table via a SELECT statement. The results of the SELECT statement are then written to a different table, where they are available for export as an xls file. It is searching an automotive customer info list by car make... This works flawlessly within VFP, but from the compiled exe I get complaints that Object 'wholesale_form ...Show All

  • SQL Server Subscriber.Enabled() returning incorrect result

    I am giving my users the ability to disable their account from my NS front-end web app and to do that I am using the NS API. In order to disable the subscriber account, I - instantiate a Subscriber object for the subscriber - set its Enabled property to False - call the Update() method The problem is, when I create another Subscriber instance for the same subscriber somewhere else and check the subscriber.Enabled() property, it always retu ...Show All

  • .NET Development Using TcpClient to do a telnet session

    Background: I want to automate a telnet dialog on a non-standard port (i.e. not port 24). I tried to establish a simple dialog to a remote computer with TcpClient in C#, VS2005. The documentation provides a nice, compact example ( http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx ) which runs, but the output I get is Sent: login Received: ↑ # ' Actually, no matter what string I send, the Received line is t ...Show All

©2008 Software Development Network

powered by phorum