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

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

stefciu

Member List

csammis
Chryso
TerryYoung
DeedToPootang
Morten Nielsen
Mike Riley
JohnnyP34
No-spam Sam
Brian Patrick
Zhen
Xelestial
yarrick
Jayakumar A
Corres
DazlerD
Donaghy
xlordt
Renan Souza
Sveind
Escimo
Only Title

stefciu's Q&A profile

  • Smart Device Development problem in accessing the data

    hi all, coming rite to the question.. well i'm passing  arrays of string from my managed code to my native code .. TCHAR* a[20]; //globally declared int i=0; //global extern "C" _declspec(dllexport) int passstring(TCHAR* f) {       a = f;  / / other codes to process the data       i++; } extern "C" _declspec(dllexport) void shownum() {      for(int q=0;q<i;q++)     {         MessageBox(NULL,a[q],TEXT("prnting_num"),MB_OK);      }      }              i'm ...Show All

  • Visual C# Generic Base Class/Retaining Previous Version of An Object

    I have the following base class: using System; using System.Collections.Generic; using System.Reflection; namespace CharlesLaboratory { public abstract class EntityPreviousState<TEntity> { private TEntity _previousVersion; [NonComparable(true)] public TEntity PreviousVersion { get { return _previousVersion; } set { _previousVersion = value; } } private bool _deleted; [NonComparable(true)] public bool Deleted { get { return _deleted; } set { _deleted = value; } } /// <summary> /// This method returns a set of key/value pairs that contain the names and values ...Show All

  • SQL Server How to delete or drop a cursor?

    Could anybody please tell me how to detete or drop a cursor Thanks, -RL A cursor is automatically dropped when the connection terminates. But, if you want to do it manaully, use "CLOSE cursorname" and then "DEALLOCATE cursorname". See Books OnLine under @@FETCH_STATUS has a full example. ...Show All

  • Visual Studio Express Editions exe is not shown on desktop when cliked on "show desktop" icon

    Hi. I have a from with monthcalender control.I have placed the exe in the startup folder so that i get to see the current date on my desktop.The transparency level of the form is set so that only the calender is the clikable control.. rest areas of the form are made transparent.. more like glass form.The desktop items are accessible(clikable) through the transparent form However when i clik on "Show desktop" icon my form along with the control disappers( i think the form is also getting minimised with all other applications when i clik the "show desktop" icon) how can i correct this situation.Pls help Thank you Setting topmost=true does solve the exixting prob of not minimising during Window+D..but...i ...Show All

  • SQL Server SQL Server 2005 Express Toolkit & Reporting Services

    Hi, I had previously installed SQL Server 2005 Express edition (and later, SQl Server Management studio express). Recently, I wanted to try out 'Reporting services' and downloaded 'SQL server 2005 express Toolkit'. After installation, I have a new program group 'Visual studio 2005' . I started that with 'New Report Project'. I tried to attach an existing database (to be precise, in 'connection string' part) , but it is giving error saying 'An error has occured while establishing connection to Server. When connecting to SQL Server 2005 ( ) ,..... may be caused the fact that under default setting SQL Server does not allow remote connections ' I tried my existing SQL Server 2005 express edition Surface Area Configuration and it is configure ...Show All

  • Visual Studio Express Editions Directory listing in a list view?

    Hi all, Directory listing in a list view - is it possible Im looking for a like windows explorer type thing, if possible.... Thanks, James. I havent tried it but hope this gives you a boost get the list of directories and add them in the listview collection (Directory.GetDirectories(path)) and also perhaps getting a list of files of the current directory - you could maybe add them in the current directory node   ...Show All

  • Visual Studio SourceSafe 6 & Vstudio 2005.

    Hi, I have Professional Edition of VStudio 2005, I'm starting a project with others 4 or 5 coworkers, we have the license for Visual SourceSafe 6.0. We don't have information about how to configure and use SourceSafe and Vstudio 2005. Could you send me a link or something that can help us Thank you. Here is a link to a website that one of our Devs wrote to explain how to use VSS 6 with VS 2005. http://alinconstantin.dtdns.net/WebDocs/SCC/Default.htm - Barry ...Show All

  • Visual C# error with static function member

    hello, i am very new c# language and was trying to educate myself with the use of static members (static Int32 K in the code below) inside function definitions. however an error as shown below comes up. any ideas/thoughts Thanks in advance!! Code: using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { static void Main() { for (Int32 i = 0; i< 3; i++) { CheckStatic(); } } public static void CheckStatic() { static Int32 K = 0; for( Int32 j = 0; j<3; j++ ) { K++; Console.WriteLine(K); } } } } Error: The modifier 'static' is not valid for this item You are trying to declare a static variable ...Show All

  • Visual C++ MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup

    Hi Justin! i am completely new to this and have to learn the language fairly rapidly, got myself a decent book, but when i try and compile a simple hello world program i get the error:      Linking...    MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup    Debug\dont know.exe : fatal error LNK1120: 1 unresolved externals    Build log was saved at "file://c:\Documents and Settings\Justin Pyfrom\My Documents\Visual Studio 2005\Projects\dont know\dont know\Debug\BuildLog.htm" dont know - 2 error(s), 0 warning(s) the hello world code is in a .cpp file format and t ...Show All

  • Visual Basic How to get a Combo Box to feed from another Combo Box

    Hope someone can help me!! I have a form with two combo boxes. One displays different Areas(e.g. Area1, Area2, Area3) and the other one displays different Regions(e.g. Region1, Region2, Region3). What I want to do is to populate the Region Combo Box depending on the Area selected in the Area Combo Box. For Example if the user selects Area1 have the Region Combo Box filter/display on those Regions that belong to Area1. I relly appreciate any feedback. Thanks alot!!! I have a similar situation. I'm user a combo box for car make and a combo box for car model. I want the models to show up that are appropriate with the car make. This thread is helpful but what does the "Select case country ...Show All

  • SQL Server HOw to export txt file with column name??

    i want to know the bcp command to export dat to txt file include column names. I can do export data wiht the table content that do not include column names, it means that i can not ue this text file to do SELECT statement with condition.Pleas for any help.Thanks Io: I don't think this is directly an option of BCP and I do not immediately see it in books online or with BCP / ; can someone please check me on this ...Show All

  • Visual Studio Team System Unrecognized default notification 'From' address again....

    Although I have seen this issue before, I haven't been able to fix this on the environment I am working on now. This is an environment that was once restored from a single VPC into a dual server environment. I have verified the web.config and both the mailserver and from addresses are fine. I have even set the email property of the user used to run the AT in Active Directory. Tried, IISReset, even reboot. The STMP Server can send messages, I verified that. I still end up with this error in the eventlog: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.Technical Information (for the administrative staff): Date (UTC ...Show All

  • Windows Forms How to fetch selected date and value from Calendar

    I'm totally new to windows programming and I have a basic questions 1 . Calendar Which calendar (datetime picker or monthly calendar)should I use to get the selected date. For instance if a user clicks on a particular date the selected date is returned to a text box. If there is any example I can look at I will really appreciate Thanks!! when I select the date, it does show the selected date on top side of the calendar control but displays todays date on the textbox and in a messageBox. Basically I just can't seem to pass the user selected date. Anyone Thanks! ...Show All

  • SQL Server SQl Server CE database connection issue

    Hi, I have created my sql mobile database in c drive ( c:\SQlMobile\sqlmobile.sdf).now when i try to connect it with following code, it gives "The path is not valid. Check the directory for the database" error. i have tried all path options but no one is working.please help me. ( i am using visual studio 2005 and SQl server mobile) code: SqlCeConnection ssceconn = new SqlCeConnection ( "Data Source=c:\\SQlMobile\\sqlmobile.sdf;Password=XYZ11!@#" ); ssceconn.Open(); MessageBox .Show( "Ok" ); ssceconn.Close(); Try giving the database path in quotes. Modify the following line of your code from "Data Source=c:\\SqlMobile\\sqlmobile.sdf;...." to ...Show All

  • .NET Development Networking Code, Windows Services

    Hi, I have programmed a small application which can act like both a server and a client. This program can then be used for chatting and file transfers etc. in a peer to peer manner. All incoming traffic goes to port 9001 on each of these applications. Here is my problem. My hardware firewall keeps any messages from getting through. So I have to log on to the router and use port-forwarding so that every message that arrives for prot 9001 is let through. This has two really big draw backs: 1) only a single computer on a LAN can run the program at once, since all the port 9001 traffic is routed to a single computer. 2) the average user will not want to go through the hassle of opening up a port. Infact, it seems like a security risk ...Show All

©2008 Software Development Network