rtaiss's Q&A profile
Windows Forms Windows Form to access websites?
I play a browser-based game. I'd like to make a windows form UI for it, mainly to improve navigation and a bit of automation. To do so I have to; 1) 'fake' http posts (as in submitting html forms) 2) be aware of response.redirects (I might tell it to load page1.aspx, but that in turn might load page2.aspx. I need to know which page is sent back to me). 3) 'fake' certain things like cookies, agent strings etc. Any clues on how to go about this Even a starting point for my research would be appreciated. Many thanks I agree. The webbrowser control will give you much functionallity . You can also use the HtmlAgilityPack (found on Codeplex). This HtmlPack also includes a class to make call's by post or with ...Show All
Windows Search Technologies Quick questions from a new user
Just downloaded WDS for use with Office 2007 Beta2Tr... Where do I find out which version of WDS I'm running The file I downloaded has a version of 6.1.22.4... How do I get the indexing to stop I pause it for 8 or 12 hours and it starts up again, slowing down my whole PC... I've been a long time X1 user and have loved it... I'd like this to work since it's so integrated into Office. Thanks for the support! Lon Interesting. Vista and WDS 3.0 use the same basic indexing engine. It's interesting to hear that one is working for you and the other is not. What build number do you have on WDS (you can check in the registry as explained above) I'm interested to find out if you are us ...Show All
Windows Forms DateTimePicker.CustomFormat not as versatile as expected
I would expect that the DateTimePicker.CustomFormat would allow the associated DateTime to be formatted with the same span of functionality as a DateTime object. However, that doesn't seem to be the case. For example, I could format a DateTime to display fractions of a second but I can't seem to be able to do that in the DateTimePicker. Here's what I can do: MyDateTime . ToString ( "yyyy'-'MM'-'dd' 'HH':'mm':'ss'.'fff" , DateTimeFormatInfo :: InvariantInfo ) The IFormatProvider is not necessary, but I thought I'd throw it in. The above string will accurately include the millisecond content of MyDateTime. However, in the DateTimePicker.CustomFormat property's Help page, fractions of a second are not listed and the abo ...Show All
Windows Forms Listbox
I have got a listbox that I am using to list a bunch of values, I have got the control set so that if a condition is met it pops a msgbox to the user Is there a way to stop the next value from being selected I remember in access this was the before validation, not here Thanks Davids Learning Care to show us some code.... That way we can see what you doing and are better able to give you an answer. Your description is still a bit vague .... ...Show All
SQL Server Volatile Storage
I am new to windows mobile development, and I am looking to create an application (C#) which uses the SQL server CE. I am curious what to do about data loss. I have a Windows Mobile 2003 PDA, which means half of my storage is main memory (volatile) and the other is built in storage (no volatile). I expect I would want to install my application to the main memory, along with the database. I Planned to give the user the abililty to select a subset of properties for running the application and storing them in the DB for running. But if the user's battery runs out I wouldn't want them to loose all of the information in the database (ie configurable property selections chosen by the user). If the user looses the application, I plan to h ...Show All
Visual C# Microsoft Agent Text-To-Speech ?
Hello, I used microsoft agent activex control in my c sharp program and it pronounce the sound perfectly - but i want to use Arabic and some other Language, i installed all those language packs on my pc But the agent can only pronounce english!! Is there anyway to have my arabic text pronounced Thanks a lot Thanks for understanding the question !! This site is already has what i need but i cannot get even an evaluation copy. i contact them, i hope i get something!! ...Show All
Visual Studio Team System 16 Sharepoint Portal Maximum
Can anyone explain to me what the docuemntation means when it states that there is a 16 Portal Maximum on a Sharepoint Portal Server Is it 16 config db's Is it 16 portal per config db And why is this a maximum Thanks I'm sorry but we don't really have the Sharepoint expertise to answer that question. I'd recommend posting it on the Sharepoint forum. Brian ...Show All
SQL Server Turning off "Select All" in SP2
Does anyone know if there is an easy way to turn off the "Select All" option from appearing on reports with multi-selects I am going to have a hard time getting the development staff to update all of our reports AGAIN after making them conform to SP1. Please let me know if there is a way before I install SP2. Thanks. This is my last attempt. I am BEGGING for a Microsoft representative to just tell me one way or the other. If it isn't possible, just let me know so I can get the developers started on a new copy of all their reports. I would like to do that knowing that it is my only option. Thank you. ...Show All
Visual Studio 2008 (Pre-release) Zoom problems of Canvas and ScrollViewer
Hi all, I'm developing a chart app using WPF, I met some problems during implementing zoom functionality, here is the details: I put all elements I want to zoom in a canvas called ZoomCanvas, which itself is in another Canvas called RootCanvas, the chart Axis, titles are all in RootCanvas, too. Then I put RootCanvas in a ScrollViewer, something like this: <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"> <Canvas Name="RootCanvas" Height="600" Width="800"> <Canvas Name="ZoomCanvas" Height="480" Width="680" > <Canvas.RenderTransform> <ScaleTransform x:Name="m_canvasTransfor ...Show All
.NET Development how to use top in stored procedures
create procedure sp_selectcard @cardno numeric,@trans numeric as select top @trans custid,card_number from detail_prepaidcard where card_number=@cardno this is my storeprocedure. the question is.It does not allow top to be used with the input parameter.. it needs top (n) and not the parameter. how can i use top in stored procedure You can't specify a parameter as the value to use for fetching a top count. Instead you might look at using dynamic stored procedures like: CREATE PROCEDURE MyProc ( @cardno numeric,@trans numeric ) AS -- Create a variable @SQLStatement DECLARE @SQLStatement varchar(255) -- Enter the dynamic SQL statement into the -- variable @SQLStatement SELECT @SQLStatement = "SELECT TOP " + C ...Show All
Windows Forms Update Database from Datagrid
Hi, I have written this below code and would like to understand why whenever i create a new row into Orders Datagrid, the row does not get inserted into Orders DB Table thanks in advance for your help, My code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.OleDb; using System.Drawing; using System.Text; using System.Windows.Forms; namespace AdminConsole { public partial class AdminConsole : Form { DataSet myDs; DataGrid myDg; OleDbDataAdapter myOleDbDataAdapter = new OleDbDataAdapt ...Show All
SQL Server SSIS Equiv of BETWEEN Date1 and Date2
I have a conditional split in which I want to filter out all dates within a given range. For example RESULT_DATE > "1/1/2001" What expression can be used for this Another example is: RESULT DATE BETWEEN "1/1/2001" and "1/1/2006" Thanks in advance, Rick It should be something like: Resultdate > '01/01/2001' for the second example: Resultdate >='01/01/2001' && Resultdate <='01/01/2006' Take a look a all the SSIS functions here http://msdn2.microsoft.com/en-us/library/ms141671.aspx And to the operators here: http://msdn2.microsoft.com/en-us/library/ms137538.aspx ...Show All
SQL Server serverproperty('ComputerNamePhysicalNetBIOS') equivalent in 2000
Hi Is there any query/function/procedure in 2000 that returns the equivalent of serverproperty('ComputerNamePhysicalNetBIOS') -Vijay @@servername....does it return the netbios name in a clustered environment How to identify the active host in a sqlserver2000 cluster ...Show All
Visual Studio December CTP Sandcastle
I get the following exception Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Microsoft.Ddue.Tools.Reflection.OrcasNamer.WriteProperty(Property property, TextWriter writer) at Microsoft.Ddue.Tools.Reflection.OrcasNamer.GetMemberName(Member member) at Microsoft.Ddue.Tools.ManagedReflectionWriter.WriteTypeElements(TypeNode type) at Microsoft.Ddue.Tools.ManagedReflectionWriter.WriteType(TypeNode type) at Microsoft.Ddue.Tools.ManagedReflectionWriter.VisitType(TypeNode type) at Microsoft.Ddue.Tools.Reflection.ApiVisitor.VisitTypes(TypeNodeList types) at Microsoft.Ddue.Tools.ManagedReflectionWriter.VisitNamespace(Namespace space) at Microsoft.Ddue.Tools.Reflection.ApiVisitor.VisitNam ...Show All
Architecture Architecture for Notification based application
I need to develop a notification based system in .Net. Basically as and when certain data gets updated, the client machine is informed about it. There would be a windows based application running across all these clients. One way I was thinking of was to have the clients poll the server for any updates at frequent intervals. Whenever the Server does an update it would post the update into a queue. Every client would poll the queue for any updates. Would like to know if this approach is alrite or suggest an alternative architecture. Thanks Sai Hi Sai, For users on internet - likely to be behind proxies and firewalls - you would need to use HTTP or HTTPs. I have heard that HTTPs connection lets establi ...Show All
