.net sukbir's Q&A profile
SQL Server Connect to external DataBase Via SQLExpress??
Hi again... I guess this is yet another newbie question (Sorry if its been asked before!) If I have an IP address for an external SQL DB with valid User & Pass... Can I connect to it using SQLExpress on my machine If so can anyone point me towards how to do it, or run through it below (In easy steps as I'm dumb ) You can use Sql Server Management Studio (SSMS) to connect to other servers also. In Object Explorer window of SSMS, you have a Connect Combo in Top Left corner of Object Explorer window. Steps are as follows (a) Press on Connect (b) Select Database Engine - You will get a "Connect To Server " window (c) In this window Give IP Address in Server Name Text Box (d) give ...Show All
SQL Server SQL Server Management Studio Express setup
I'm trying to install the SSMSE vor SQLEXPRESS, but I get the message Setup has dedected a version of SQL Server Management Studio on this machine.... etc. I have removed the SQL 2000 Enterprise manager , but the message still pops up. Looking for a good soul now for helping me out Thanks Have you installed Management Studio of a lower version Would you check Control Panel --> Add/Remove program, Click "change" on SQL Server 2005 and see the report. Then you can make sure whether SQL Server Management Studio is still existing. Or you can check Start --> All Programs --> SQL Server 2005 to make sure whether the menu item still exists. ...Show All
Visual Studio Team System The TFS Report doesn't update, TF50801 The TFSServerScheduler service did not initialize
I got the same error as http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=553325&SiteID=1 . 事件 型: 事件 源: Tfs 事件种 : 事件 ID: 3059 日期: 2006-11-16 事件: 16:12:14 用 : N/A 算机: TEST 描述: TF53010: Team Foundation 件中 生了意外情 。 此 包含的信息提供 您的站 管理人 。 技 信息(供管理人 使用): 日期(UTC): 2006-11-16 8:12:14 算机: TEST 用程序域: TFSServerScheduler.exe 程序集: Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 程 信息: 程名: TFSServerScheduler 程 Id: 3780 程 Id: 3348 名: TFSservice 消息: TF50801: TFSServerScheduler 服 未初始化。Team Foundation 注 服 返回以下 : 此 算机的注 表 有 Team Foundation Server 的 ,或包含了 Team Foundation Server ...Show All
Visual Studio Express Editions snmpMgrOID2Str and snmpMgrStr2OID
How does snmpMgrOID2Str and snmpMgrStr2OID makes the convertion Does it read mib files in system32 Is it possible to load some specific MIB regards Daniel Martins Hi, dmartins For such issues please use an appropriate newsgroup, potentially one at http://msdn.microsoft.com/newsgroups . Thank you ...Show All
Windows Forms Drawing on pictureBox
Hi, I am making a scrolling text with transparent background. However, the pictureBox1 seem to draw nothing and the string is drawn on Form1. Any idea Hi, you wired your Paint event in a way that the drawing is actually happening on the form, not the picturebox. To draw the text on a picturebox, modify your code like: public partial class Form1 : Form { private String drawString = "Sample Text"; private Font drawFont = new Font("Arial", 31); private SolidBrush drawBrush = new SolidBrush(Color.White); private int textX = 0; public Form1() { InitializeComponent(); this.pictureBox1.Paint += new System.Windows.Forms.PaintEventHandler(this.pictureBox1_Paint); ...Show All
Audio and Video Development W3 Schools free XML tutorials for beginners
Hi all, For all those who are just beginning (like me) with XML and other scripting, maybe this can be a good start : http://www.w3schools.com/ Hope it is of any use ...Show All
Visual Basic Mshtml size problem
I am using Microsoft.Mshtml.dll in my project, but it is to big for my app. To simplify my application is only 60 KB big in size, and the mshtml.dll is 7.3 MB big. My application doesnt work if I dont copy the file localy. Is there any way of resolving my problem and reducing size of my application I am using click once to deploy my projects, and it doesnt support compression. " make sure that you are adding the mshtml TLB from add references" I did that. If I select "Copy file localy" it is working. Is there any way to use the mshtml.dll that is allready in system32 folder, so i dont have to distribute it with my software ...Show All
Visual Basic Accessing and displaying data - so many choices! What's right for me?
I have been working with Access and VBA a long time. I've made forays into VB3, 4, 5 and 6 when required, enough to be comfortable. So now, VB.NET. Working in Access, I'd probably be done already! But I wouldn't learn anything new and would be one step closer to obsolescence. I need to write an application for viewing vehicle Equipment Work Records (EWRs). These records are essentially maintenance logbook entries - they cannot be edited, they cannot be deleted...and I have no control over how they are created. What I have is an Access 97 database, and a specification for the delimited textfiles that will start arriving with the new year. The database has three tables, containing three years worth of data, about 3,500 EWRs. I would li ...Show All
Visual Basic Application Configuration
Hello. A question, please. I am working with VS 2005. I don't find how can I set the working enviroment. I mean DEBUG, RELEASE. I know that I must see a bouton called SOLUTION CONFIGURATION, but I dont have it. Can anyone help me Thanks... I found that this option is not by default. I inserted it doing : right-click on the toolbar - Customize - commands - Rearrange command bouton - Menu build - Add in build menu - command configuration manager. Now, I have it but It is disable. I guess that it is because I have some errors. Thanks... ...Show All
Windows Forms how can I best deliver the HUGE .NET 2.0 download to customers without causing them to quit!!??!?
I am writing a chat application. I am confused by a few things and hoping anybody can shed some insight. 1. How many users are running .NET 2.0 vs 1.x 2. If your exe requires .NET and the user doesnt have it installed WHAT is the best way to get the user to install the 25mb .NET files without freaking file without laughing at you and quitting. 3. Is there not a LIGHT VERSION that isnt so large and doesnt take 12 MINS to install on my FX 57. Has anybody tried a web deployement FRUSTRATED. 1) well, some people are using both. I would say about 50% of people are using .NET 2.0. .NET 3.0 will be as standard in Vista, Windows XP SP2/MCE2005 and WS2003 have .NET 1.1 built in I believe. 2) Well, you can ...Show All
Smart Device Development Using VB program to open file on a CDMA device - PPC6700
I'm trying to use the Shell command to run a .exe file on a mobile Pocket PC, but when I run/debug the program on the phone it keeps coming up with the FileNotFound error. I'm thinking it is the path that is wrong, but I can't find anywhere as to how to address the path on a mobile device.. i.e. Shell("c:\program files\calc.exe"). I have tried every combination i can think of, from My Device, to C: to just \... but nothing seems to work and I know I'm missing something. Any help would be appreciated. if using .NET 2.0 then use the Process class to launch your file. imports System.Diagnostics imports System.IO .. .. private sub button1_Click(byval sender as object, byval e as Eventargs) handles button1.clic ...Show All
SQL Server Migration without backup-files *.dts
Hello All, I have to migrate SQL 2000 DTS-Packages to SQL 2005. My Problem is that I didn't saved my DTS-Packages as files and the SQL 2000 Server exist no longer. Actually I have only the old hard disk with the SQL 2000 databases. Do you have any ideas what can I do Thanks Jonas I can restore the databases, e.g. the msdb-database from the hard disk of my old server. Do you know any possibility to migrate my dts packages that are saved in the msdb database without a running SQL Server 2000 ...Show All
.NET Development TableNewRow event doesn't fire
Any idea why the TableNewRow event doesn't fire in an example such as the following DataTable dt = new DataTable ( "Test" ); dt.TableNewRow += new DataTableNewRowEventHandler (dt_TableNewRow); OleDbCommand cmd = new OleDbCommand ( "SELECT * FROM ... ", _connection); using ( OleDbDataReader r = cmd.ExecuteReader()) dt.Load(r); Kind of annoying, as I'd hoped to use this event to keep track of progress as data trickles in. The query takes about 20 minutes to return all data, due to a slow network connection. I'd really like to be able to keep the user informed as data accumulates. Any other suggestions Please use RowChanged event for DataTable.Load( ...Show All
Visual Studio Express Editions Mathamaticians please !
I want to resize an image using a NumberUpDown control, Here's what I have, Dim pcent As Integer pcent = 100 / nudPercent.Value pbxResize.Width = pbxResize.Image.Width / pcent pbxResize.Height = pbxResize.Image.Height / pcent If I enter 50 then 100 / 50 = 2 so the image width and height is divided by 2 = 50% If I enter 25 then 100 / 25 = 4 so the image width and height is divided by 4 = 25% you can see that this does not work for 76% for example 100 / 76 returns 1 which gives 100% so how do I resize the picture by the number in the NumberUpDown box. Thanks Renee, It was as simple as that, As Double instead of As Integer . works a treat. ---------------------------------- Dave, Tried Opti ...Show All
Windows Forms OnPaintEvent Issue(help please)
Ok,i'v just started messing around with the OnPaint Event i normally just make most of my Graphics in Adobe Photoshop.But want to start using the the OnPaint in my Forms.. The problem i'm coming across is moving my Straight Line Down the Form,As of right now it goes Horizontal but in the middle of my Form..here is the code i have so Far.. Now i'm not sure about the p3, p4 i know it can take up to 4 Arguments but when i use the p3, p4 i get an Compile Time Error in my g.DrawGraphics(MyPen, p1, p2); Looking to move the DrawLine further down my Form Thxs in Advance for the Help protected override void OnPaint( PaintEventArgs pe) { Graphics g = pe.Graphics; Pen MyPen = new Pen ( Color .CadetBlue); Poin ...Show All
