John123's Q&A profile
Visual C++ Concept: Detecting Telnet seperate from Other connection.
Language: C++/CLI ---------------------------------- No real code problem here, but a thought process problem (darn my brain). Anyway, I have a client/server application that is 100% compatible with Telnet as well as my client. The problem is the client sends a username in the form of a Command_String; IE: "MSG_SEND_USERNAME : ClientUsername" My server takes that, and interprets it. The problem is that a telnet user sends similar information, but I don't want my server to get confused between a telnet client and my client. The telnet clients Command_String looks like this: "MSG_SEND_USERNAME : TelnetClient" The problem is that if a client connects, then the Telnet client connects and the client sends their username, it ...Show All
Visual Basic Where is refactor?
Where do I download the free version of Refactor I followed the link in the msdn video, but the download is not available. Jeremy This should work. ...Show All
Smart Device Development Does Anyone Know If This Is Possible
I would like to know if it's possible to have the Mobile Device Emulator running on a laptop that has an Edge or CDMA mobile phone PC card in it to connect with the new Microsoft Dynamics CRM 3.0 Mobile client available here: http://www.microsoft.com/downloads/details.aspx FamilyID=ea5a3566-7ec8-4afe-bbfa-91e7210c55c4&DisplayLang=en So this is what it would look like: Server at office sends info via TCP/IP | | Edge or CDMA card in laptop recieves packets | | Laptop sends packets to Mobile Device Emulator | | Mobile Device Emulator sends data to Microsoft Dynamics mobile client running on it The reverse would happen to send data back to the server. ...Show All
Windows Forms Adding multiple controls at runtime
Hi all, i am new in visual basic, so any help would be appreciated. I want to create a form where user could input a number in a textbox and after clicking on a button, there would be adde on the form as many textboxes as user has filled in the original text box. Additionaly, i would like these new controls to have the same name with a counter at the end, i.e., first textbox name= Criteria1, second textbox name= Criteria2 etc. i tried the For...Next, Do While/Until and stuff like that, but i haven't manage to create anything more than one and only one control at runtime. I would also be interrested in how could add new controls on form every time a button is clicked. Trying the following code, Button1 Click procedure ...Show All
.NET Development Trouble with Transaction & OLEDB
I have the following code: Imports System.Transaction ... Using trScope = New TransactionScope Try Me .Repar1TableAdapter.Insert(xxx data ) Me .Repar2TableAdapter.Insert(xxx data) Me . ReparObsTableAdapter.Insert(xxx data) Catch ex As Exception MsgBox( "Error de Insert ..." ) End Try trScope.Complete() trScope.Dispose() End Using I have a conection to access database: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=R:\Reparaciones.mdb" I'm getting a exception on the first Insert: Message="El proveedor 'Microsoft.Jet.OLEDB.4.0' no admite la interfaz ITransactionLocal. Las transacciones locales no estan disponibles con el ...Show All
.NET Development creating proxy using wsdl programmatically and wsdl parsing
I am working on XML web services using Visual Studio 2005. My client web service "Client" has the url of the wsdl of server web service "Service" at run time. In order for the "Client" to use "Service" i need to do the following thing "programmatically": 1) Get the wsdl file on the fly from "Service". 2) Create a proxy programmatically i.e not using wsdl.exe or Add web reference. 3)Invoke methods on the created proxy. I donot know how to do any of the above things. Is it possible to do it Can anyone tell me resources form where i can get help Suggest a way of doing it I will be grateful for any help from you. Thanking you. Yours sincerely, ...Show All
Visual C++ A null reference pointer was passed to the stub
Hii All, I am working on the project where the client uses vcc++(ATL-COM) API from the internet to connect to the database.The server in Window NT.The request and response is all in xml format.Some times we get the error as showm below. COM ERROR: Code = 0x800706F4 Code meaning = A null reference pointer was passed to the stub. Source = Description = Can anybody help on this,I am stuck here For such issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups where folks will be more familiar with such issues. OTP Thanks, Ayman Shoukry VC++ Team ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Anyone need music/sound design?
Hi! I'm an experienced musician/audio engineer and avid gamer looking for some projects to help build a portfolio. I'm especially interested in composing context sensitive music with some basic interactivity. I also have a fair bit of programming and scripting experience and knowledge of modern game engines. I specialize in Rock, Electronic, Rap, and Orchestral. Here are a few examples: Orchestral: http://thirdcoil.com/music/wasted_potential.mp3 Orchestral/Action: http://thirdcoil.com/music/biohazard.mp3 Rock/Electronic: http://thirdcoil.com/music/politic.mp3 Electronic/Dark: http://thirdcoil.com/music/avail.mp3 If anyone has a project they think I'd be well suited for, let me know. I'm just looking to get some experience. Thanks! - Joel D ...Show All
.NET Development Microsoft .NET Framework 1.1 Service Pack 1
I upgraded my Visual Studio 2003 to Visual Studio 2005. After running update.microsoft.com I received the following message: Failed update Microsoft .NET Framework 1.1 Service Pack 1 Has anyone experienced the same problem with that Thanks. I've not had that personally. But what happens if you: reboot machine download the SP from here: http://www.microsoft.com/downloads/details.aspx displaylang=en&FamilyID=A8F5654F-088E-40B2-BBDB-A83353618B38 (redistributional package: http://www.microsoft.com/downloads/details.aspx FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en ) and install it Also consider disabling your Anti Virus software before installing ...Show All
Visual Studio Tools for Office How to access an email Internet Header?
My add-in uses Outlook.Interop, and I work with MailItem objects for mail messages a;; the time. BUT these objects do not expose the Internet (SMTP) headers of the message, nor many of the fields in the header. I noticed that System.Net.Mail.MailMessage has a Headers property, but I don't know how to cast or convert a MailItem to a MailMessage, or even if that is the best path. I have seen examples of accessing the MailItem.MAPIOBJECT property, but these examples use a MAPI namespace that I can't find in Vis Studio 2005 for C# and .NET. Does anyone know how to get at the underlying email message Where I can find the assemblies for working with the MAPIOBJECT Other ideas Thanks! -Allen Allen Razdow wrote: ...Show All
Smart Device Development VS2005, CF2.0, C++, Platform selection
My development environment is Visual Studio 2005 Enterprise. I have a C++ application containing both managed and unmanaged code. I've successfully compiled it for the Win32 platform. It executes correctly in that environment. The next step is to install it on a CE 5.0 using the Compact Framework (2.0, sp1 installed.) I cannot figure out how to switch VS from the Win32 platform to any other platform without losing the C compiler switches that enable it to use managed code. My process: 1. Using wizard, create a new solution/project for C++, Console Application (which is the model I want to use.) 2. I immediately "Build". All is well. It says "Hello world." 3. I select Configuration Manager, and choos ...Show All
Visual FoxPro Column Visible in Grid
Ok, I am creating a grid and I need to create a column called "ProvRecno" to use for a refrence pointer. I can make the column, and I can see all the info I need, however I want that column to be non-visible. I am not sure how to set this column to visible = .f. The Grid is built from a SQL select, and I need some way to select the column titled ProvRecno so that I can set its visibility to .f. Any Ideas Probably he is asking for his version is old and doesn't support visible = .f. behavior as it does under VFP9 (wish posters always added the version number they're using). In older versions (ie: 7) end result was: Column is still there and visible. Only content is 'empty'. ...Show All
Software Development for Windows Vista IMediaSeeking - start delay after seek
My graph is as follows 1) FileAsyncReader 2) MyCustomParser (implementing IMediaSeeking, creating YUV frames) 3) VMR Video Renderer Everything works fine except that 1) when I move the seek bar in graphedit when graph is in paused state the frame is adjusted properly (which is OK), but when I then 2a) press play there is a delay before the playback - the blue bar in the seekbar advances for some time *after* current position and then playback starts 2b) press step frame - nothing happens but blue bar moves *after* current seek position (so it's located after the seekbar's handle). When I press step frame again - it works fine except that the blue bar is always after the current position General question - what does the blue bar really repr ...Show All
SQL Server Dataset filtering... how?
Hi all, I want to create a summary page for one of my report, depending on a parameter, I would like to filter the dataset before creating the summary fields. I cannot figure out how to perform this filtering, my approach has been to insert a Table control and map it to my dataset, then try and do some filtering via the properties. When i then put something like =sum(Fields!Sales.Value) into the header (such that it is shown only once, not repeated), I get the sum for the full dataset, not the filtered one. Please help, is there any easier way todo this Lastly, I can't filter at the SQL level as the dataset is being used to populate a chart below the summary. Advice welcome. Please help Taz Put the filte ...Show All
Visual Studio Express Editions Save
How do I Save a file with out calling the dialog box, at the moment I can SaveAs the file(with dialog box) but what I'm after is when you click just save it just saves the file that is opened in its original format with any alterations that have been made. The program is a cut down version of a text editor. When you use the dialogbox you presumably have something like: If SaveFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then ' some code to save the file End If To save it without the dialogue then just put the code you run there into your Save button click event, replacing the dialog.filename property with the name of the file you opened originally. Or am I missing the poin ...Show All
