Software Development Network Logo
  • SQL Server
  • VS Team System
  • Microsoft ISV
  • Windows Vista
  • Visual C#
  • Game Technologies
  • Visual Studio
  • Audio and Video
  • Visual FoxPro
  • Visual C++
  • Smart Devicet
  • SharePoint Products
  • IE Development
  • Windows Forms
  • .NET Development

Software Development Network >> Suhaib's Q&A profile

Suhaib

Member List

Martin Schmidt
jkv10
perstam
Keith Chapman
Dinh Quang Son
Matthew_Stevenson
Tonnie
smozaffari
JamesCox1968
laqula
Joos
Ammar1985
AdeptBlue
Bradrover
Shokino
Euclidez
Pockey
NLC4241
Psite
Cyber Sinh
Only Title

Suhaib's Q&A profile

  • Smart Device Development CF 2.0 based app is using two MainMenu Control types.

    Hi all, I have this strange problem/issue that I have had bothering me for a while now. I have an application where the users browses through Forms to perform various bits of functionality, and then closes the form to return back to the previous form (the Form from which it was openned), and the Focus is right back with the Form that openned the closed Form (if you know what I mean :)). Now this all works fine in my application apart from in one place, where when the called Form is closed, the calling form (or my Application even) doesn't get focus back until the 2nd tap on the application with the pen. The Windows start button and Input control on the MainMenu are focused and can be activated from the first click on them, but not my appli ...Show All

  • SQL Server slow respons time from reporting service over sharepoint

    I am running SQL 2005 reporting services on a windows 2003 machine with SharePoint over SSL My reporting services web directories are virtual directories under the SharePoint website. I am having a problem with loading https://sharepoint.mysite.com/Reports/Pages/Folder.aspx When you first open IE and bring up the page it takes about 30 seconds to load. Once you have connected via any machine, all other machines can connect at normal speed 1-2 seconds. All testing is being done on our LAN so there is no bandwidth issues when opening the pages. My guess is that something is going into a sleep mode, but I am not sure where that would be set. Thanks for any suggestions Robert Based ...Show All

  • Smart Device Development Problems with picture boxes

    I have c# project which has a form with a picture box. When the project is deployed to an emulator the picture box is the same size as in design view, however when its deployed to a device the picture box is reduced in size to appox half the size. All other controls are the correct size and correctly positioned. Increasing the size of the picture box in design view does n't increase the size of the runtime picture box on the device. I'm developing in vs2005, .net 2 for a Pocket pc 2003se device. Has anyone else had this problem and is there a solution Thanks I found that changing the 'SizeMode' property of the picture box to 'StretchImage' seemed to do the trick. Thanks all the sa ...Show All

  • SQL Server Export whole database with relations and keys

    Hi, I've been trying to export a whole database from one server to another (connected through a local network) but the keys always get lost: when I open the diagrame I can actually see them just before the tables names appear. I've tried inserting the primary keys for each table manually with the export wizard, which took me some time, but no relations were exported. Any way of doing this automatically Try scripting your action. By reading the script you should see the constraints. Fire up Microsoft SQL Server Management Studio and highlight up the server and the database you want to recreate on the other server. Follow these steps Right click. Choose Tasks Choose Generate Scripts At that point the wizard will come up and you wil ...Show All

  • Visual Studio Team System How do you suppress work item creation on build failure?

    My client doesn't want to have new work items created when a build fails. I have looked all over the web and can't find a place in the project build file to tell it to suppress creation of work items. You can do this by setting the <SkipWorkitemCreation> property in Microsoft.TeamFoundation.Build.targets file to 'True'. By default this flag is set to 'False'. See http://blogs.msdn.com/nagarajp/archive/2005/10/27/485980.aspx for list of overridable properties ...Show All

  • Visual C# BeginInvoke and resource leaks

    From Jeffrey Richter's "CLR via C#": "You must call Endxxx or you will leak resources. CLR allocates some internal resources when you initiate asynchronous operation. If Endxxx is never called, these resources will be reclaimed only when the process terminates." This is written about functions like BeginRead and EndRead. Is this correct also for delegates For example: public delegate void SomeDelegate; ... SomeDelegate someDelegate; ... someDelegate += subscription; ... someDelegate->BeginInvoke(); If I never call someDelegate->EndInvoke, does this create resource leak, as written in the book According to Richter, the only Beginxxx function which doesn't require Endxxx is Control.BeginInvoke. I can use Control.BeginInvoke ...Show All

  • .NET Development Multiplayer game

    Hi everyone, I'm in the making of writing a semi-serious multiplayer game and I am now looking towards the most effective solution to it, therefore starting this thread. The game itself is not network heavy in terms of network usage. Let me explain; --- A client connects to the main server and upon successful authentication he arrives in the game "lobby" where a list of current games and users appear which the clients server of choice maintains. Each game contains one or more clients. When the client arrives in the lobby he can choose either to join a game or talk to other clients in the lobby. If the client chooses to join a game he is added by the server to the game and then removed from the lobby. The game is turn-based and pr ...Show All

  • SQL Server Another Uninstalling problem!

    When I am trying to uninstall SQL Server 2005 Express on XP Home I get the following error message: The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine MARTINS Error:2147749896 (0x80041008). I have tried restarting the WMI service but that doesn't help. Any ideas This looks like a problem with WMI on your computer. Check out the following: WMI Isn't Working WMI Diagnosis Utility This should help you determine what is wrong with WMI and help you fix it. Regards, Mike Wachal SQL Express team ---- Mark the best posts as Answers! ...Show All

  • Visual Studio Team System WSS alerts not working after TfsAdminUtil

    Hi all, After we have changed domain service accounts with the TfsAdminTool (1 app tier, 1 db tier), we no longer receive WSS alerts. We have done all the usual WSS alert troubleshooting, such as verifying that the App pools are using the same account as SPTimer, we profiled the db looking for proc_MatchSubscriptions but none came, restarting the SPTimer service and verifying that it starts. We put PerfMon on OWSTimer.exe, the cpu is at %0 all the time, but IO Data Bytes/sec spikes about every 20 seconds, so SPTimer seems to alive. We verified the alert settings with stsadm.exe and they seem ok. The app-tier has been booted twice since. There are no errors in the Eventlog on the app-tier, nothing in the SQL Server logs, or any err ...Show All

  • SQL Server can't import .sql

    i uses sql server 2005 express ,and type command as follow to import data : osql -E -S (local)\NetSDK -i InstNwnd.sql (as in Data Access - Bind Data in a ComboBox sample) but got an error : D:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Samples\Setup>osql -E -S (lo cal)\NetSDK -i InstNwnd.sql [SQL Native Client]SQL Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF]. [SQL Native Client]Login timeout expired [SQL Native Client]An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. what's is it and how i can import data thanks Hi, if y ...Show All

  • SQL Server Drill to detail in ProClarity

    Hi, This is from a previous post I had put, http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=973310&SiteID=1 ProClarity gives a "Drill-To-Detail" by default. When you click on that it shows the key columns for the fact tables. It uses Drillthrough for this. I tried defining drillthrough actions in ssas 2005, but they come up seperately as actions in proclarity. The "Drill-To-Detail" is still displayed on right-click at proclarity. The actions are working in ssas 2005, but according to the definition, if a drillthrough is executed, if no return columns are specified, then it picks the return columns from the action that resembles similar query target. This does not seem to work for me! if nothi ...Show All

  • Software Development for Windows Vista LessThan cannot be used on decimal type ?

    How do you do comparisons on currency values in rule conditions I want to do a simple discount test for a price < 50.00, where price is decimal type. Am I missing something easy You need to add a m to indicate the 29.99 is a decimal instead of a double. So use: this.CurrentOrder.TotalOrderAmount < 29.99 m Maurice ...Show All

  • SQL Server passing a new query to a report

    hi all, ok, here is my problem. my employer has tasked me to create fairly complex program.. and with it he wants a reporting system. now, i have been given permission to use VB Express, SQL Server 2005 Express with Advanced Features, and the SQL Server Express Toolkit for my application. my employer would prefer not to have to spend the money on visual studio professional (although, in truth it would make my life so much easier as reports are integrated into the IDE, via crystalreports), so i HAVE to do it the way of viewing all reports through ie. now (after much toil) i have finally figured out how to display the reports in an internet explorer window (which i can also run from my application), and the report displays no problem! ...Show All

  • Visual Basic SMTP Authentication Windows Application

    I have a VB.Net application that I wrote that is NOT web based. This application is used to send our customers monthly updates and other information. We recently changed our T1 and our server requires Authentication. I have been able to get a web based version to authenticate, but am unable to do so with Windows. Any help would be appreciated. I need to get this working within the next few days. Dim SMTPMail As New SmtpClient Dim MailMsg As New MailMessage, I As Integer MailMsg.From = New MailAddress( Me .txtFrom.Text) MailMsg.Subject = Me .txtSubject.Text MailMsg.IsBodyHtml = False MailMsg.Priority = MailPriority.Normal MailMsg.Body = Me .txtMessage.Text SMTPMail.Host = Me .txtServer.Text SMTPMail.Port = 587 ...Show All

  • SQL Server Performance issue on a singel large insert

    Hi, I'm testing Mirroing. 1) I have dedicated NIC for Mirroring - 100Mb There is no issue with the network (file of 25MB goes in 2.5 seconds) 2) I'm issuing the next simple command Select * into dbo.Table2 from dbo.Table1 3) the size of the table is 25MB in async mode it takes 3-4 sec (as if it runs only local) in sync mode it takes 25-29 sec !!!! WHY IS THIS NORMAL is there any configuration i can change That still seems long though, 30 secs for 25MB table We had our mirrored database in sync mode while we did the credit card encryption It was LONG (since everything has to get flushed to the mirror, and CC # are everywhere), but the network speed is high ...Show All

©2008 Software Development Network