Ajeeth Kumar's Q&A profile
Smart Device Development WebBrowser Control
When using the WebBrowser Control I have a page that allows me to tap on a link and download a file. Is there a way to set the default "Save To" path for this webbrowser control There is no exposed way for you to set the Save To path for the webbrowser control because the dialog that pops up when you click on the downloadable file is a native control. You could also consider using the HttpWebRequest class instead if this would suit your needs. ...Show All
.NET Development "The network name cannot found." if .NET app run on Novell network share?!?
Dear forum members: I want to start in my program itself under a different user: : FormLogon frmLogon = new FormLogon(); frmLogon.ShowDialog(); processLabel.StartInfo.FileName = Assembly.GetEntryAssembly().ManifestModule.Name; foreach (string sArgument in sArguments) { processLabel.StartInfo.Arguments += sArgument + " "; } processLabel.StartInfo.WorkingDirectory = AppDomain.CurrentDomain.BaseDirectory; processLabel.StartInfo.UserName = frmLogon.UserName; processLabel.StartInfo.Password = frmLogon.Password; processLabel.Start(); : I have two problems: When I run this on the Novell network share I got the message: "The network name cannot be found." On a local director ...Show All
Visual Basic TextBox user's input as variable ... Help Please.
OK, I am a complete Noob at this, I downloaded it to try and learn it, and while I'm sure this question will be easy for someone to answer, It has beaten me up long enough... I am trying to make a form that will backup and replace folders. Form has the following items.. Textbox1 - for the user to input a name for the backup folder. Listbox1 - for the user to select the backup files to reinstall. Button1 - for the Install/OK Button2 - as a program exit button I have my coding for the file copying in the Button1 section, but the coding for creating a folder from the text that is entered in TextBox1 is what's giving me problems. I've tried using ... Private Sub Button1_Click( ByVal sender As System.Object, ...Show All
Software Development for Windows Vista Getting compressor color depth capabilities
I was wondering if it were possible to get the color bit depths that the system codecs supported. (i.e. some only support 256 colors, others only 24-bit) Upon enumerating through all the system codecs via hr = pSysDevEnum->CreateClassEnumerator(CLSID_VideoCompressorCategory, &pEnumCat, CDEF_DEVMON_CMGR_DEVICE | CDEF_DEVMON_FILTER); You can get the name of the compressor using the IPropertyBag interface. You can also get the keyFrame, quality and dataRate capabilities via IAMVideoCompression interface. Is there a similar interface to get supported bit depths The closest thing I can think of is reading the AM_MEDIA_TYPE of the output pin(s). Note that some compressors don't report output media types ...Show All
Visual Studio Team System Removing or redefining Refname
Hi, I am having a situation that requires either removing a previously define refname or just being able to redefine it. E.g. I'd mistakenly defined a refname as a string and now I want to change it to an integer. Does VSTS support this And if so, what are the steps Thanks Unfortunately, changing the refname of the field is not an option. I am trying to test a 3rd party plugin that relies on a specific field refname. ...Show All
Software Development for Windows Vista Can anyone help me in case of creating and working managed cards with "Smart Cards"?
Hi everyone, Lets take the example of "FabrikamCertificate.ini" in which the credentials should be store location or thumbprint.As I read in one microsoft web page that smard card implementation is possible through hardware or software both. I don't have any hardware can anyone help me which software it requires and how it get configured Because once we try to send the managed card (created by smart card) ask for u to insert smart card and as we windows cardspace does not permit to do any operation while it is running. ...Show All
Visual Studio 2008 (Pre-release) Controling RichTextBox elements' position
I want to build a kind of equation editor. To do this, I need to be able to control the elements' position to have things like a division, where the operation (division) stands between the 2 operands (which are on top and on below the division separator line). Is it possible to have this type of control on the RichTextBox's elements I tried with a Transform but the caret does not respect this transformations. Ofcourse, at the same time, I want to keep the natural caret behavior. Thanks. Hello Mike. You have a point there, but Valentim doesn't use Runs. He uses Panels. So, actually what he does is insert full controls in the FlowDocument. And controls don't have carets inside handled by the FlowDocument. Or ...Show All
SQL Server SQL Server 2005 Service Pack 2 CTP is available
Hi, SQL Server Service 2005 Pack 2 CTP (Community Technology Preview) is available... http://www.microsoft.com/sql/ctp.mspx The list of new features and fixed was published here on KB Article http://support.microsoft.com/default.aspx/kb/921896 Regards Nilton Pinheiro www.mcdbabrasil.com.br Hi maddesco, Is there a date yet for the public version No. Now, the December CTP of SP2 is available at: http://www.microsoft.com/sql/ctp.mspx If not, any estimate of when it might be Dec CTP is the last SP2 CTP release, so I believe that between Jan end and Feb middle will be a most likely date. thanks Nilton Pinheiro www.mcdbabrasil.com.br ...Show All
SQL Server Can't Find SQL Native Client in ODBC Connection Manager in SQL Server Open Database Connectivity (ODBC)
I apologize if this is not the correct forum for this posting. Looking at the descriptions, it appeared to be the best choice. I am running Windows XP Pro SP2. I have installed the SQL Native Client for XP. However, when I try to add a new data source through ODBC Connection Manager, SQL Native Client is not listed as an option. I have followed this procedure on three other systems with no problems. What would be causing the SQL Native Client to not show up in the list of available ODBC data sources I am having a very similar problem. I am using Visual C++ 2005 Express and have installed the Microsoft SQL Server Native Client. All the mentioned registrty entries appear to be correct. I have also i ...Show All
Visual C# User Account
Do yuohave a way to count user accounts in a machine I search smdn but I never find anythign Regard Watanabe in Kushiro Glenn Wilson wrote: You might have to look at the system management classes and WMI to gather the security systems. thanks glenn but i don7t understan what you are saying, sorry for my bed english, can you explain again in detail ...Show All
Smart Device Development Subject: VS2003 Controls in VS2005
I've got some 3rd party controls that I can get into the VS2003 IDE toolbox, but I can't get them onto the VS2005 toolbox (if I do "Show All" they show as disabled in the toolbox). Is it impossible to use the VS2003 controls in VS2005 I figured there might be a way since you can use old ActiveX/COM controls in .NET, right Thanks for any help, Steve Indeed you can not as custom control model has been changed for VS 2005. But you can add reference to custom control DLL and use these controls them programmatically without designers. ...Show All
.NET Development TCP Connection throttling at Socket
Hi, I have been wrestling with this issue for quite some time now. For an application I am developing, it is necessary that I receive data from an HTTP request at a reduced rate. This is not unlike run of the mill bandwidth management. Here is the problem: After a network stream is set up, it seems that the winsock buffer is set to around the TCP window size (about 64k). I have attempted to set the socket receive buffer to the minimum size, as well as control the networkstream that is passing the data up. The only solution I have found to be truly effective is to modify the socket buffer size in the registry. Besides modifying the registry, it seems that no matter what I do, the socket will receive about 65k before I am allowed to m ...Show All
Visual Studio Express Editions Datetime-Time
Hello, I am a complete novice trying to understand the basics! I have created a sql with a Number date time fields, and a form for input. I changed the date pickers for a masked boxes as I only need to work with time values. "00:00" However when I enter a time it automatically saves the date as well, and the masked box displays the first part of the date.ie. Enter "20:00" Displays "04:12"(todays date) What is the best method of working with time values, bearing in mind that I will need to do time difference calculations using my time fields. Any examples or advise greatly recieved. Chaz. The first step in creating any data based application is to decide what type of database you ...Show All
.NET Development ftp service
Hi, I will be extremely grateful for any help with a task I have. I should implement (in .NET 2003) FTP service which should authorize clients and will run on a server. I have to admit that I know almoust nothing about this stuff. I should probably start 'Windows service' project in Visual studio and should implement some 'middle service application' which will wait for ftp client requests, will perform internal client check and if client validated successfuly, will pass the client request to the server. If we don't consider the authorization part, which is not difficult for me, can anybody give me a clue how to implement the 'middle service application' which passes the ftp requests to the server and returns the results back How diffi ...Show All
Gadgets mouseover event when using addImageObject
Is there any way to set a mouseover event for a g:image, if it is added using backgroundId.addImageObject Unfortunately not, <g:background> doesn't support events. <g:image> does support events, but it will only be of use if you don't have a transparent background. ...Show All
