BilalShouman's Q&A profile
Smart Device Development How to open and goto a specific record in Contact or appointment
I want to programatically run the calaneder , task or conact and goto and specific records . can it be done how can i do it seewan The applications dont themselves support this. However you can use Pocket Outlook Object Model (POOM) to access specific items and call Display() to show the standard card screen. For .netcf code on Windows Mobile 5.0 see the Microsoft.WindowsMobile.PocketOutlook namespace. For native code see POOM in the SDK documentation and samples. Peter ...Show All
SQL Server SQL 2005 Express install fails on XP64
I have had 3 tries at getting SQL Server 2005 Express installed on my XP Pro 64-bit. In the System Configuration Check at the start of the install process I get two warnings: COM Plus Catalog Requirement and ASP .NET Version Registration Requirement (64-bit ASP .Net is Registered. Required 32-bit ASP .Net to install Microsoft Reporting Services 2005(32-bit).). In the Setup Progress I get green ticks for MSXML6, SQL Setup Support Files, SQL Native Client and SQL VSS Writer, but half way through SQL Server Database Services I get a popup - Generic Host Process for Win32 Services has encountered a problem and needs to close. Then another popup - SQL Server Setup could not connect to the database service for server configuration. The er ...Show All
Visual Basic Do nothing in a while loop
I have a while loop that runs until one of two conditions are met. 1) A timer elapsed 2) A COM object raises a event that is done doing a task This works great but while the program, it's a window service, is running, it utilizes 50% of my CPU power. How can I make the service do nothing when it's in the while loop My code: With Timer1 .Interval = maxTime * 1000 .Enabled = True Dim i As Integer Do While Not ReadyState And .Enabled i = i + 1 Loop .Enabled = False End With Sven De Bont wrote: Hi Philip, Loop can be very CPU intensive, so you might consider a different approach. Apparently, you are using the timer for 'time-out' purp ...Show All
Visual Studio Express Editions show form in C#
Hi, I'm new to C#, been programming VB express 05 for about a year, and I want to know, How do you show another form I have a form, MainForm, and an About Box, AboutBox, and on the main form there is a menu item, AboutToolStripMenuItem. Logically, I want to show the About Box when someone clicks the About menu item. In vb I would have something like this... AboutBox.show but I tried that in C# and it didn't work. almost there...you need to create an instance of the object in question, then do whatever you want to do. So in this case, create an instance of the form: AboutBox theAboutForm = new AboutBox(); //show is: theAboutForm.Show(); problem here will be that the user can focus back onto the main ...Show All
SQL Server Sql express 2005 conflicts with my 2k instance
Hello, i have both server instances installed on same machine, 1st is sql 2k enterprise and 2nd is sqlExpress 2005. all was working fine till today, i renamed a catalog in the express2005 instance. the reason for this renaming was a duplicate catalog name in the 2k and in the 2005 so when i backup my dbs one is overwriting the other because of the same file name. after this rename i started to get some errors in the application so i decided to rename it back to its original name and relocate the backup destination to other folder. now the situation in that i cant login any more to the 2005 server, when i login to serv\sqlexpress2005 (via manager or via odbc) i see always the 2k server. i tried to login to an ...Show All
Visual Studio Team System How can I create a link to a changeset with Power Toys "tfpt workitem /new ..."
Greeting, I have created a custom WorkItem; let's call it a cwi . I am able to create new cwi from the command line using tfpt like this: tfpt workitem /new project\cwi /fields:"Title=mytitle" My next step is to be able to specify a link to a changeset when I create the custom work item. I have not been able to find any hint that this is possible and I need your help on this to see what can be done. Thanks, Marc Hi, I don't think you can specify a link to changeset using tfpt workitem. Instead you can use TFS WorkItem and VersionControl APIs to accomplish this. Following is sample that shows how to add a changeset link to a workitem. You can find TFS SDK at http://msdn2 ...Show All
Windows Forms Simple yet annoying question about DataGridViewTextBoxColumn
One of the columns I read from database is a boolean . Basicly its being False means Gender is "Male" , True means "Female". In DataGridView i want that column to say their gender but i cant make it work if i try to set that column's value to "Female" by dgvList(e.RowIndex).Cells("Gender").Value = "Female" on CellFormatting event, it tells me "Female" isnt a Boolean. Telling me i can only set "True" or "False" in that column. Help The Events i tried i think it might help you get the idea of what im trying to do: Private Sub dgvListe_CellPainting( ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellPaintingEventArgs) Handles dgvListe.CellPainting 'If dgvListe.Columns(e.Colu ...Show All
Visual Basic Managing systems from a common system
Hi I have been plagued with questions from some of my friends whether it is possible to control other systems from a particular system in a LAN. For eg: If I want to shutdown a particular system on my network from my computer, is it possible I tried using the shutdown GUI but when I search for computers on my network, it shows Active directory is not available. Can anyone tell me how to go about adding network computers into this Active Directory service from my LAN How do I do this How can I make other systems on my LAN to give access to me from my server Please let me know Thanks and regards :) It is possible to add computers or users to an active directory with the directory services classes. You ...Show All
Silverlight (formerly WPF/E) Any future for input controls?
I haven't seen a list of planned features for WPF/E but are there any plans to add input controls such as a textbox (and textarea type control), button, dropdown, etc. I know that gets into a whole different realm but I think to truly make WPF/E something capable of more than just fancy animations (which I admit I like), having input capabilities is necessary. Some very cool data entry forms could be built that handle validation, etc. in creative ways. Imagine a textbox shaking for instance (a mini textbox earthquake) when it contains invalid data. Or, correct textboxes could be faded out bringing the incorrect ones to the forefront so the user could see them better. Fly in a dropdown list containing car models once a manufacturer has ...Show All
.NET Development CodeDom: create "using(StringWriter sw = new ....")
Maybe I just cannot find it, but how do I create a statement like this: using (StringWriter stringWriter = new StringWriter()) { .. more code } I can see the CodeTryCatchStatement and so forth, but which one is the right one for "using" Thanks, good page for referencing, although... I figured all of that stuff out myself already and learned probably a lot more by doing so than by just having read it somewhere. ...Show All
Visual Studio Where to find the .AddNamedCommand(); .Commands ; .CommandBars Infomations
Hi, I am quiet confusing about the conceptual design to the Commands and CommandBars. is there any information descript the relationships I am adding a new menu item , I can find there are types of API can do so, one is from .AddNamedCommand() but I have no ideal about the API help, and how to control it more detail. so, I am using the CommandBars object model, find a CommandBarControl object , add one in .Controls propety. but, I think there should be more precise different in thos two Object models Am I right can any help to provide more info thanks one is what Hi, See my article HOWTO: Adding buttons, commandbars and toolbars to Visual Studio .NET from an add-in at: http:// ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Not convinced that texturing actually works
I cut and pasted the " How to: Apply Textures to 3D Primitives" tutorial into VSE. I keep getting an exception...will someone please post an example that actually works on their machine...the bare minimum code that I can cut and paste in...texturing in MDX was SOOOO much easier. I don't have much faith when a tutorial for basic texture mapping doesnt even work Microsoft.Xna.Framework.Graphics.InvalidCallException was unhandled Message="External component has thrown an exception." Source="Microsoft.Xna.Framework" ErrorCode=-2147467259 StackTrace: at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserPrimitives[T](PrimitiveType primitiveType, Int32 primitiveCount, T[] vertexStreamZeroData) ...Show All
Smart Device Development dll plug-in function execution
If I have several dll's which are multiple plug-ins to a main application. I execute a dll plug-in function that matches what I find in the control file. I'm using a doubly linked list to navigate the menu's and havethe nodes of the linked list tell me the names. I use a control file of tags like XML sort of that describes menus and fields for a 2 line 16 character display and only have 4 buttons that can do a - select, cancel, up, down - to manuver and execute functions in several different plug-in's. How can I execute a method dynamically from a event like a button being pressed on the main application in one of the plug-in's. Any ideas Take a look at my sample (CF1, C#) at http://www.alexfeinm ...Show All
SQL Server Is there a load event or run event?
Is there a load event or report run event for a report that can be accessed I need to have my report jump to a certain url whenever it is run but I cannot use the jump to url because that has to be clicked. I need this to occur automatically. Any suggestions There is an OnInit event that fires each time the report is run. The method can be used in custom code like this, Protected Overrides Sub OnInit() ' do something End Sub Ian ...Show All
Connected Services Framework CSF IPTV WES Technical Overview
Looking for a pointer to where I can find information on Microsoft Connected Services Framework 3.0 IPTV WES Technical Overview. Here is some background: IPTV is a software platform that has been developed specifically to deliver broadcast quality video and television services over broadband networks. The platform combines functionality, such as instant channel change (ICC) and multiple picture in picture (PIP), with more traditional television services, such as broadcast programs and video on demand (VOD). The software platform enables integration of IPTV with other Internet Protocol (IP) based communications and media services for PCs, phones, and portable devices. IPTV WES provides a layer betwee ...Show All
