Meher123's Q&A profile
Visual FoxPro Downloading and uploading file from URL
Hi. First task : How to download a file from internert via FoxPro Second task : How to upload a file in Foxpro via ftp Thanks This is what I use to download a file from the web. My customers use this each day. To download from http site use ftp. in front of the file name. ******************************************************************** *** Name.....: MENU DESIGNER - COMMON - DOWNLOAD UPDATE PROCEDURE *** Author...: Donald J. Higgins *** Date.....: 04/01/2006 *** Notice...: Copyright (c) 2006 Common Sense Software *** Compiler ...Show All
SQL Server How to create report using WebService as DataSource.
Hi, We created a simple web serivce having a Web Method which accepts a string parameter and returns "Hello World" concatenated with parameter value. We tested this web service by browsing it through IE and it was working fine by accepting a parameter and displaying the "Hello World " concated with the value given through the parameter when clicked on "Invoke" button. We now created a Reporting Services 2005 project using BI having a report for which the data source will be the web service which is mentioned above. We defined a parameter for the report which will pass the value to the webservice and the report will display the returned value ...Show All
Smart Device Development Modify a form by a thread
Hi all; I'd want to know how to access & modify parameters of a form by a thread. In fact, I want to change the text of a text box, or a value of a progress bar of the form1 in my thread. I tried this but without success, I pass the form in argument to the thread namespace Essai { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [ MTAThread ] static void Main() { Application .Run( new Form1 ()); } } } public partial class Form1 { S ystem.ComponentModel. ICon ...Show All
SQL Server Can't play files: Video Series: SQL Server 2005 Express Edition for Beginners
I cannot play any of these video files in RealPlayer or in Windows Media Player. Any suggestions Anyone else having this problem Thanks, Brian Video Series: SQL Server 2005 Express Edition for Beginners C00D1199: Cannot play the file Could you give me a pointer to where you got this file Regards, Mike Wachal SQL Express team ---- Please mark your thread as Answered when you get your solution. ...Show All
Visual C# Printing an array in C#
Hello all! I'm writing a piece of tool that generates subsequent integers in a multi-dimensional array and I want know how to I can print(printing through a printer and not onto a screen) that array. My tool is currently able to print a string, an integer etc, basically a single value. Thanks! To iterate through an array, use for each foreach (string s in myStringArray) { PrintItem(s); } Am I right in thinking you're able to print a single string, and you just want to know how to go through the array, to print lots of items I should add that PrintItem is a mythical function, ...Show All
Visual C# How can I create Menu seperator with .Net framework 2.0?
with .Net framework 1.1,I can implement menu seperator through setting the MenuItem's Text Property with a minus as shown below: MenuItem mi = new MenuItem(); mi.Text = "-"; but how can I achieve this with .Net Framework 2.0 it seems that the new class MenuStrip provided by .Net Framework 2.0 can not be manipulated this way. any help tips will be appreciated You should be able to create a separator with code like this: ToolStripMenuItem newitem = new ToolStripMenuItem (); & ...Show All
Windows Forms Added unbound grid rows are blank
Added unbound grid rows are blank I have a master-child relationship. The master are unbound controls, and the two children are grids. The column names and types I created in the columncollection. When I save the master, values automatically go into the grid columns and saved. They appear in the grid and are updated correctly to the database. If I add another row, it's values appear in the second row. However, the first row's contents become invisible. Same for each subsequent row. However, when I save each row, it is updated correctly in the underlying database. How can I get the values to stay visible wh ...Show All
Visual Studio Team System A branch has been deleted but tf get still gets files in the branch
As you can see below the Code-Iteration-1 folder has been deleted C>tf dir "$/System" /folders /deleted $/System: $Code $Code_CI_1 $Code-Iteration-1;X104 $Documentation Code-Iteration-1 does not show in the Source Control explorer in VS2005 But it shows in tf dir: C>tf dir "$/System" /folders /recursive $/System: $Code $Code_CI_1 $Documentation [text deleted for clarity] $/System/Code-Iteration-1: $CITSln $Content $ThirdParty $Tools $/System/Code-Iteration-1/CITSln: [text deleted for clarity] When i do a tf get /all I still get all the files in Code-Iteration-1 I feel that this must be a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Orthographic Projection using DXUT CModelViewerCamera
I was wondering if there is an easy way to obtain an orthographic projection with the DXUT camera class CModelViewerCamera I have unsuccesfully tried the following configuration: D3DXVECTOR3 vecEye(-1.0f, -1.0f, -1.0f); D3DXVECTOR3 vecAt (0.0f, 0.0f, 0.0f); g_Camera.SetViewParams( &vecEye, &vecAt ); g_Camera.SetProjParams(45.0f, 1.0, 0.0f, 10.0f); I'm not aware of there being any built in method, but CModelViewerCamera derives from CBaseCamera , so you could conceivably specialize it further and add in orthographic support. If you follow the trail, CModelViewerCamera::Set ...Show All
Visual Studio Express Editions new to VC++ need help with linker errors
Hey all, hope everyone is well...I am trying to type in a program from a book I am reading. the problem is I have the code in exactly as it is in the book but I still get errors when I try to compile. well no so much in the compiling process but in the 'linker'. I am no experienced enough to figure it out on my own so I was hoping for some help. the following is the code (it's a console tic-tac-toe game) // hi2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; const char ...Show All
Windows Forms Settings - user.config naming?
Hi Guys, Is the "user" in user.config going to actually be the username at some point, or will the file name always be "user.config". The docs say this: "User-scoped settings are represented by the <userSettings> element and are placed in user .config, where user is the user name of the person currently running the application. ", but I don't see that behavior. Cheers, Michael The file will always be named "user.config". The doc is incorrect and I have requested that it be updated - thanks for pointing it out. ...Show All
Visual C# Is this a bug or by design? Settings declared internal when autogenerated???
In relation to this question I had concerning how to access settings that are declared in another project: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=116815#116815, I have some concerns with the way VS2005 beta 2 sets up the Settings file. When you create a Settings config file, it creates a Settings class that is marked internal to the Properties file. For example, the generated code from one I just created looks like: namespace ExportImportManager.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal sealed partial class Settings ...Show All
.NET Development Sending out messages from a .net app to Pda's - advice
hi all, im researching some methods to distribute jobs to a small army of people across Canada and was wondering if anyone had some tips to help me along. My main question is, how (and what software / hardware) would i need to equip every person with a PDA and be able to send out messages (via Email i suppose) to the PDA's with scheduled jobs the people have to go on. A couple of things though: 1. I want the message to be delivered to the PDA without the user having to check email, press some sort of Send / Receive. Almost like a Pager. AS long as its on and they have some sort of wireless connection it should send the message an ...Show All
Windows Forms toolStripStatusLabel.Text doesn't update?
I am able to set the toolStripStatusLabel.Text before showing the Form, but after the Form is shown then changing the status is not possible. I do have tried Application.DoEvents() but didn't help. Am using .Net/VS2005/C#. This works: Application .EnableVisualStyles(); Application .SetCompatibleTextRenderingDefault( false ); gui = new GUIForm (); gui.StatusLabel = "Ready" ; Application .Run(gui); This doesn't works: Application .EnableVisualStyles(); Application .SetCompatibleTextRenderingDefault( false ); gui = new GUIForm (); Application .Run(gui); gui.StatusLabel = "Ready" ; Application .DoEven ...Show All
Visual C# How to create a Snap-In project [MMC] Using VB.net 2005
Hi I want to create a Snap-In project [MMC] Using VB.net 2005.Is there any SDK available like its available for VB6.0 snap in project Please help me . ...Show All
