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

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

Cyberjunkie

Member List

nhd
Syed Mazhar Hasan
Tall Dude
xluna
Gumbatman
Eric Robert
dtsn
jkline
Amde
Robbin AB-SYSTEMS
amit007
Mohanraj_k
Mazzica
Troy Lundin
mikej409
Caesar Samsi - MSFT
Alex-MyRpg
guilherme mendes
doctorg
Devi48354
Only Title

Cyberjunkie's Q&A profile

  • Windows Live Developer Forums Detecting Sent Messages

    Hi All, I am just looking for a way of detecting sent messages from the user using the Activity SDK. Is it possible , I have implemented the event to get the messages which they have recieved but now I need is a way of getting what the user is sending.  Thanks, Rob  ...Show All

  • Visual C# Convert TimeSpan to format DD:HH:MM:SS without the milliseconds

    Hi I have an application that needs to display duration time which is calculated with the TimeSpan class. The representation should be formatted as: D:HH:MM:SS (D=days, HH=hours, MM=minutes, SS=seconds). When applying the ToString method of the object it yields out the exactly what we need (including negative values). Quote from MSDN: "A string that represents the value of this instance. The return value is of the form: [-][d.]hh:mm:ss[.ff] Items in square brackets ([ and ]) are optional, colons and periods (: and.) are literal characters; " The issue is the optional decimal second fraction, we don't need it. Please advice how can we eliminate this milliseconds optional representation. Thanking you in advance Ilan ...Show All

  • Visual C++ Memory mapped files

    Does anybody have an example of how to use memory mapped files in VC++ I'm using VS2005. Thanks!! Yeah, I did. Everything I found only confused more. So I just thought i'd give it a shot here, maybe somebody has a snippet that they could share. ...Show All

  • Windows Forms Rich and Plain Text

    Hi Does anyone knows how to code an Open Rich text or Plain Text file in childForm with RichTextBox thanks jbattat Hi I am having a little problem on how to declare the " theSelectedFile". Can you assist jbattat ...Show All

  • Visual Studio Team System DataGenertionPlans

    Hi, I imported the NorthWindSchema into a SQL Server 2005 database project. Then I created a datagenerationplan and kept all the defaults. I setup my Project Properties->Build>Target NorthWindOnline and connection to SQL Serve Express. When I go into the properties window of the DGP and try to change the Build Action from "Not in Build" to "Build" I get the following error: "Unable to find valid scheam object identifier in the file. Check the syntax of the DDL statement or make sure the file is not empty." Any thougths on what I might be doing wrong Thank you. Randy What is the proper way to "Unit Test" SPROC's Do you build, deploy, data generate on target, then execute ...Show All

  • Visual Studio Express Editions audio question

    ok i know how to get it to play a file i ahve on my pc but the question is is ther a way is can get it to bind it to the program when i compile it that way when someone uses it they hear the same and it wont give errors i mean is it possiable i know many programs that play souns when i open the gui adn i know i dont have those sounds on my pc to embed it as a resource, simply add the item in your project, select it to view its properties then set the "Build Action" To "Embedded Resource" next, you need to extract the emebedded file into a Stream, then give this reference to SoundPlayer so you can play the file from the embedded resource extracting embedded files: http:/ ...Show All

  • Visual Studio Express Editions Rich text box help needed!!

    I'm pretty new to VB2005 Express and I'm trying to make an app with a rich text box and have no idea on how to code the 'save file dialog', the 'open file dialog', the 'font dialog', or the 'print dialog'. I would really appreciate help. Well nearly everything works, but I cant figure out one little problem, one part says: Private Sub FileName As String There's something wrong with ' As String ', VB underlines it in blue and says 'End of Statement Expected' and I went to the help and it told me to Insert a line terminator after the element that completes the statement, but I'm not sure what a line terminator is. I've tried '.' ',' '*' ':' and '()' but no progress! Hope someone knows how to fix it or could tell ...Show All

  • Software Development for Windows Vista Can't install Vista CTP 2

    I can't seem to even get Vista CTP 2 installed. The compatibility report says that i must contact the device manufacturer for updated driver software for: "SCSI and RAID controllers: Intel(R) 82801ER SATA RAID Controller" I've download the lasted driver from Intel and have installed it, but Vista still does install. By the way I've not loaded any version of Vista before. Any help reguarding this would be greatly appreciated. Thanks, -Brian By the way here are some the specs on the computer: Dell Dimension XPS Gen 2 Intel(R) Pentium(R) 4 CPU 3.00 GHz 1 GB RAM Microsoft Windows XP Professional Service Pack 2 ...Show All

  • Visual C# How do I Programatically change a Windows User Account's Password?

    I have a project in which I have a combobox that programatically detects the Windows users on the computer, a text box, and an OK button and I need it to work so that when a user selects a name in the combobox then types a new password in the textbox and clicks the OK button, it changes the chosen user's password. But I don't know how. try this: System.DirectoryServices. DirectoryEntry theEntry = new System.DirectoryServices. DirectoryEntry ( "WinNT://" + Environment .MachineName + ",computer" ); System.DirectoryServices. DirectoryEntry theUser = theEntry.Children.Add( " username " , "user" ); theUser.Invoke( "SetPassword" , new object [] { " newPassword " }); theUser.Invoke( "Put" , new object []{ "Descrip ...Show All

  • Visual Basic Generating Interop and AxInterop Dlls

    Hi all, I have a user control on VB6 (.ocx file). I am adding the reference of the ocx file in a VB.Net(2005) project. I do right click on the toolbar and click choose items and go to the COM Component tab and select the ocx file and clicking on ok adds the VB6 user control in my VS2005. I am able to use those controls. It automatically generates the Interop.Mycontrols.dll and AxInterop.AxMyControls.dll. I want to genetate the Interop and AxInterop dlls to be generated manually. I tried usnig the Tlbimp.exe to generate the Interop dlls. But i was not able to use the dll generated manually using the tlbmip, by replacing the dlls generated autmatically by the .Net IDE. I used the following format tlbimp MyControls.tlb /out: ...Show All

  • Software Development for Windows Vista Test case 15: installing shared dll

    Are we allowed to installed shared dlls into c:\windows\system32 In notes it is written: " If the application installs drivers and/or Windows redistributive components they may be installed to existing Windows directories." What is a "Windows redistributive component" We have a dll shared by many different softwares from our company or other companies having bought a licence for our API. We must ensure this dll is installed only in one place on system, and System32 is the ONLY common place. On top of that, this shared dll is a Win32 C DLL, called by our main application written in C# .NET We are using DllImport attribute to access methods of this shared dll. As this Dll is shared, it can not be stored in the application ...Show All

  • Visual Studio 2008 (Pre-release) WPF Grid - Cell background color

    Is it possible to obtain access to a cell on a Grid and change it's background color No. The WPF Grid panel does have the concept of a "cell." If you want a particular row/column intersection area (aka cell) to have a particular color, put some type of panel in that area and set its Background to that color. ...Show All

  • Visual FoxPro Microsoft Access to Visual FoxPro?

    Hey again guys, it's been a while. I am here for a co-worker of mine. We have to do a database to database transfer from Access to FoxPro. The thing is, our DBA wants us to write a program for this; however, we just cannot find anything for answers. My question for you is: would this be possible to do a database transfer If so, what am I missing here Something must be right under my nose and I am not seeing it. Thanks in advance! There was an older tool by JohnKoziol: MDB2DBC - Access to VFP Data Migrator It was for VFP6. It is found at http://www.universalthread.com - downloads section, download #9848 mdb2dbc.zip ...Show All

  • Visual C++ How can I do asynchronous socket proramming in console application?

    I was trying with using WSAAsyncSelect , but it requires handle parameter of the window to which the message will be sent when an event occurs. So how can I get handle of a console application Or there is some other way to do asynchronous socket programming in console application. Thanks. I tried with following code... fd_mail = socket(AF_INET, SOCK_STREAM, 0); host_info.sin_family = AF_INET; host_info.sin_port = htons (110); host_info.sin_addr.s_addr = inet_addr(IPAddr); // Setup socket for asynchronous operation async_event = WSACreateEvent(); if(WSAGetLastError() != 0) return -1; int t = WSAEventSelect(fd_mail, async_event, FD_CONNECT | FD_READ | FD_WRITE | ...Show All

  • Visual FoxPro Returning control from a modelless form.

    Hi; I have a form which displays a text file in an editbox. I call this form from a PRG which has a window defined. If the form's WindowType property is set to modal, the form works fine. If I change it to modeless, the form returns control to the calling prg but the active window stays the form itself. How would I keep a form modeless but return the active window to the window that called the form I hope I make sense... Thank you all. add the following statement after the Do (m.prg) Read Event please note on Exit add Clear Events ...Show All

©2008 Software Development Network