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

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

nCognito

Member List

CLearlyDotNet
Nightman28
BrollyLSSJ
Shabari
prthealien
simon_
jiggs
xlordt
Mateus1223
R Raghu
Raj Deep
Sabrecat
wisperless
Hyung
Ewild
cipcip
codeberg
msdnzoo
Paola Zambudio
kreativ
Only Title

nCognito's Q&A profile

  • Visual Studio Express Editions help with telnet client

    hi, i want to make a telnet client so far all i have is the code to "connect" tcpClient = New TcpClient tcpClient.Connect(Login.TextBox1.Text, " " & Login.TextBox2.Text)   what i need to know is how to send commands to the seerver im connected to e.g. i type "help" in textbox1, it sends it to the server, and shows the returned text in textbox2. so i would type "help" in textbox1, click a button, and have all of the "help" text that comes up would be in textbox2 this is the most difficult thing i have ever done in Microsoft visual studio 2005 express edition so i neeed lots of help so please help me! You'll recieve it Adam. This is outside of my area of experti ...Show All

  • SQL Server AttachDBFileName refers to original log file

    Hello, I'm using the AttachDBFilename option in the SQL connection string to attach a database mdf file copied to another machine. There is an error though, it seems to want to refer to a log file on the machine the .mdf was originally created on. The error is as follows: Could not attach file 'C:\Program Files\Strategic Systems\Time Master\TimeMasterDat.mdf' as database 'TimeMaster'. File activation failure. The physical file name "D:\Visual Studio 2005 Projects\Strategic\Applications\TimeMaster\Database\Strategic.TimeMaster.Database.SQL2005\TimeMasterDat_log.LDF" may be incorrect How can I get the attach to avoid referring to this log file That worked, but creating another User Instance was no ...Show All

  • SQL Server Automatic sync between SQLce and Access

    Hi, I am converting an old eVB application to CF.NET 2. It's a very simple setup. 1) An Access database sits on the host and has occasional edits applied to it. 2) An application on the PDA with a mirror copy of the Access database (filtered data) and also has occasional edits applied 3) When the user puts the PDA in the cradle the databases get automatically synchronized with each other. Probably couldn't get much simpler than this. This used to be very easy to do with PocketAccess and ActiveSync. Unfortunately this is no longer supported. I decided to use the new SQLce database instead when porting to CF.NET. It's working like a charm except that I haven't found an easy way to synchronize with the desktop Access application. Mer ...Show All

  • Visual C++ Cannot interrupt a process running with OnKeyDown

    The ESC key works ok, if the application is idle and waiting for a menu command. But I cannot interrupt a procedure with the OnKeyDown function that continuously loops and looks for files (containing String info), formats data and appends records to a MS ACCESS database. I can only use the GetInputState function and a dialog to exit the routine. I use Visual C++ vers. 6 and MFC. This is correct and you can change this only if you use multiple threads! If the operations are in a loop and you want to peek for an escape key you have other choices. http://www.microsoft.com/msj/0297/wicked/wicked0297.aspx And this is my favorite: http://www.microsoft.com/msj/0798/c0798.aspx ...Show All

  • Visual Studio 2008 (Pre-release) Media Element Will Not Play.

    I tracked the error down with the on failed error, and I THINK this is ther error: Insufficient memory to continue the execution of the program. I can only say think so because the routed events confuse me somewhat. What’s the date/time stamp on evr.dll and dxva2.dll in your %windir%\system32 folder This should have a similar date/time stamp to milcore.dll and windowscodecs.dll. If it is not, please uninstall WPF, and manually delete evr.dll and dxva2.dll, and reinstall WPF. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. myFirstGame sprite flicker - anyone else?

    i completed the first tutorial to make a sprite bounce around the screen. My sprite is 2kb at 87x61 pixels. Tutorial said to use a small sprite ... maybe that's a relative term, but i'd call that small. When my sprite moves around the screen, it looks like my computer is thinking really hard about redrawing it. i get a very noticeable flicker as it cruises around. Does anyone else have this problem i don't know what specs to feed you ... i'm running a dual-core system w/ 2GB RAM and a ATI X1300 vid card that has 256MB memory. i didn't think pushing a 2k image would bring it to its knees ( ) - MrSock i'm using a jpg - docs said that should be ok. i'd like to try using that SynchronizeWithVertic ...Show All

  • Visual Studio Team System Problem in running build -error MSB3073

    Hi I am trying to run a build using TFS and I geting an error. It looks like it fail on some post events (md directory + copy) of a VS project. Is it a known bug in TFS build If I build the solution without using TFS build it works ! Thanks, Error: Solution: MasterSolution.sln, Project: Destinator.PC.Services.Local.csproj, Compilation errors and warnings C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(3089,13): error MSB3073: The command "md C:\console_build\Destinator_IL\PCPortal Master\Sources\PCPortal\DestinatorPC\\Destinator.PC.App\C:\console_build\Destinator_IL\PCPortal Master\Binaries\Release\ copy *.* C:\console_build\Destinator_IL\PCPortal Master\Sources\PCPortal\DestinatorPC\ ...Show All

  • Windows Forms Usercontrol inheritance stopped working in designer (VS 2005)

    Hi all.. I am creating an application that uses UserControl inheritance. I declared the base UserControl as abstract and derived from it 5 forms exist. When I used the designer, I could see visually all of the inherited controls. Until now. I don't know what happened but when I try to see any inherited control in the designer, the following error is shown : The designer must create an instance of type 'Gama.Tablas.Maestras' but it cannot because the type is declared as abstract. I haven't done any code change to the inherited forms. I tried by exiting VS and running it again, and the same happens. Any help would be greatly appreciated. I think it is unuseful to post the code, because it is the same code VS creates when a new ...Show All

  • Visual C++ Compiler Version of Visual C++ 6.0

    How to get the Compiler Version of Visual C++ 6.0 The compiler version is 12.00.8804. u can get it from the console ie. open command prompt and got the the installed path of VC -> bin and type cl. This is the compiler application. Regards, Sudeesh. ...Show All

  • .NET Development Send images over a network?

    What protocol will i need to use to send images over a connection to a remote computer, in real time A number of protocols would work here, it really depends on the over requirements of your application, what is available on the remote host and what the network infrastructure looks like (firewalls, etc). For simple cases like direct file transfer the lightest weight solution is likely a TCP Socket based application. If you search the web for "Socket Code Examples" you will find an MSDN page with full code examples. ...Show All

  • Visual Studio 2008 (Pre-release) How to show selected item highlighted without focus?

    I have a list box and some buttons in my window. When I select one item in the list it gets highlighted (it gets a blue background). When i then click on one of the buttons the list box loses focus, the selected item is still marked but not highlighted as before (it has now a gray background). I want it to still have the same appearance as if the list box never lost the focus because I can have multilple list boxes with items and then it cannot be seen for which list box' item I pressed the button. Any ideas how to do that Actually I don't want to change the UI. I have a list of items that are shown in an ItemsControl horizontally. Each item's data source has a fixed size array of 2 other items which I wa ...Show All

  • .NET Development reflection related query

    I am facing one problem in my project. I want to find the referenced assemblies of my current assembly. I am using reflection.assembly.getreferencedassemblies() function for that. But I can't get COM converted .net dll and c++ dlls in that. why what should I do to get that dll also............... I want that dll name anyway..........please show me some way if it's not possible in .net then is it possible in c++................... Thanks in advance.................. thanks friends...........for help but still I think we can get it...........................i am saying because..... I saw one tool which shows all the dependency files for a particular dll............whether that is manage ...Show All

  • SQL Server Getting a reference to a Script task in VB.net

    I am trying to get a reference to a script task so I can manipulate it's properties. However I can't seem to figure it out I have a reference to Microsoft.SqlServer.ManagedDTS and Microsoft.SqlServer.Dts.Design and based on BOL they show Imports System Imports System.Collections.Generic Imports System.Text Imports Microsoft.SqlServer.Dts.Runtime Imports Microsoft.SqlServer.Dts.Tasks.BulkInsertTask Imports Microsoft.SqlServer.Dts.Tasks.FileSystemTask Imports Microsoft.SqlServer.Dts.Runtime But I get errors saying Imports Microsoft.SqlServer.Dts.Tasks.BulkInsertTask Imports Microsoft.SqlServer.Dts.Tasks.FileSystemTask can't be found What do I need to reference or Import to be able to see the ...Show All

  • .NET Development How I can use COM-port if its uses by another process ?

    Hi all. I have a class which works with some hardware device connected to my PC through COM-port. When I`m trying to create an instance of my class there's exception occured: UnauthorizedAccessException. It happens often but not all the time (!). It may happens right after reboot the computer. I think this is because COM-port is used by anothor process in OS. But I'm sure that there's no any program which can use this port except mine. So how I can release all sources which can work with COM-port and then connect to this COM-port from my class p.s.: I use SerialPort class in .NET 2.0. I think you diagnosed this correctly, a program is already using the serial port. Sharing access is out of ...Show All

  • Windows Forms modify connectionstring at runtime

    hi i defined the Myconnectionstring in app.config i created datsets and TableAdaptors that is based on Myconnectionstring The problem is that My.Settings.dbConnectionString is a read-only property i want to write minimum code to change connectionstring at runtime, in a way to avoid changes to tableadaptors code. thanks Here is how I did it:  Create another application setting in your project called "UserMyconnectionstring" and make it of type string.  Don't make it a connection string, just a string and set the scope to user.  Now while you are still on the project->properties settings tab, click on the view code button at the top.  You'll need to add these to functions to ...Show All

©2008 Software Development Network