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

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

nanocity

Member List

Tsmedegaard
Judyt
MSJ17
.net sukbir
iGary
Malleswar
Chris Honcoop
barkingdog
Matty1stop
Brian Schwarz
baldeagle16
drdexter33
swiftdc
TopDean
cdun2
DarkProphet
Chaitanya Vempati
crbeckman
amendez
chetwynd
Only Title

nanocity's Q&A profile

  • Visual Studio VS 2005 IDE problem

    I am having a problem with the properties page of all my VS 2005 projects. I can modify all the properties except "Application". When I try to look at this property page, I get the following error: An error occurred trying to load the page. Exception has been thrown by the target of an invocation. Does anyone know what this problem is or how I can fix it I tried reinstalling VS 2005, but the problem is still there. I can look at the same project on another PC with VS 2005 and the problem does not occur. Thanks for any help. Pat I have a similiar problem. When I attempt to view a project's references, then this error message is displayed; "An error occurred trying to load th ...Show All

  • Visual Studio Express Editions releasing resources question

    Hi, i'm moving an Image object around with the MouseMove event,  and I have a Graphics object which draws the image in a Rectangle object.  Do I need to release resources - such as the dispose() method My pc crashed a couple of times recently, and I wondered if this had anything to do with it.    Hi again, here is the main part of the code - ('pic' is the Image object, picX and picY are just int variables for the Image location, rect is Rectangle object) private void Form1_MouseMove( object sender, MouseEventArgs e) { if (e.Button == MouseButtons .Left) && CanMove == true ) { rect.X = e.X - picX; rect.Y = e.Y - picY; rect.Width = pic.Widt ...Show All

  • Visual Studio Crystal Reports dynamic

    Can the datasource of the crsytal report be made dynamic. Also can the report it self be dynamic e.g fields, . can it be done programmatically. ...Show All

  • .NET Development Updating a Table Adapter

    Updating Data from a table Adapter Honestly I do not understand why I need to write code to update a databse and why it stores it localy. I'd simply rather the system update the individual row after it is scrolled off of. In either case since I guess I can't do that. Here is some code in a button on a form Try ItemsTableAdapter.Update( NewCreationsDataSet1.Items) LineCodeTableAdapter.Update( NewCreationsDataSet1.LineCode) Catch ex As Exception MsgBox(ex.Message) End Try I get an error stating "Update Requires a Valid Update Command when passed a dataRow collection with modified rows" Do I need to include ...Show All

  • Windows Forms Appending in datatable

    Hi, I have a table in database in which values only get inserted and no deletion or updation takes place. Each row has a time stamp. In my application I grab the table at start up and store it in a datatable and then I periodically go to the database and get all the values again and repopulate the datatable. Obviously, this is not an efficient way as I am grabbing the same rows again and again plus the new rows. I can modify my sql to get only newly inserted rows using the time stamp but how do I append those new rows in my existing datable such that it does not lose the rows already added The updation takes place ever minute and typically involves close to 50 rows. I am using 1.1 Thanks, I gu ...Show All

  • Visual Studio Express Editions An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll

    Here is the error that popups when i debug my windows application. An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. I am a c# programmer. here is the code: - int MemberID=Int32.Parse(textBox1.Text); string FirstName="textBox2.Text"; string LastName="textBox3.Text"; string LoginName="textBox5.Text"; string Occupation="textBox5.Text"; string myConnectString = "Persist Security Info=False;Integrated Security=SSPI;database=firstdatabase;server=RAHUL;Connect Timeout=30"; SqlConnection con = new SqlConnection(myConnectString); con.Open(); SqlCommand cmd= new S ...Show All

  • SQL Server MSSQLSERVER login failed for user 'MACHINE\user'. [CLIENT: <local machine>]

    I just did a fresh install of SQL Server 2005 Developer Edition and SP1. I elected Windows auth during install. After rebooting I get 2 errors in my Application Event Log: MSSQLSERVER Login failed for user 'COMPUTER\user'. [CLIENT: <local machine>] (event ID 18456) and Report Server Windows Service (MSSQLSERVER) (event 107) which says: Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database. In the data section it says it can't connect to the machines "master" database. I can manually login. How can I fix the problem and get rid of these messages Thanks. Mark Jens - I did as you suggested. First off I didn't realize that within the reportdb configuration too ...Show All

  • SQL Server Best practice for data dictionary in SQL Server 2005

    Hi ,all here, Would please anyone here give me any guidance and advices for best practice of data dictionary in SQL Server 2005 I have restored a large insurance claims database with up to more than 300 tables, massively, most of them are empty tables, many of them dont have any keys, contrains, indexes, and more difficult, there is no any data dictionary for the database which gets me stuck in the understanding of the data at the moment. Thus I think data dictionary is very important for a database. Will anyone gives me advices for that Really need help. Thank you very much in advance for any help. With best regards, Yours sincerely, Helen, Yes, you need to replace with your specific information. EXEC sys.sp ...Show All

  • Visual Studio Express Editions Power Point Show in WebBrowser Control ? can it be done ?

    how to view power point show inside a web browser control in an application form thank you ahmedilyas wrote: sorry whats the problem :-) you seem to have it right.... this.webBrowser1.Url = new Uri(@" file:///c:\whatever\yourpresentation.ppt ") it doesn't work with me , so i wonder is it something with the power point file extention , or is it something with the way to use the webbrowser control ...Show All

  • Visual Studio 2008 (Pre-release) net.p2p

    Hi folks - i've been working in some detail through the WCF hands on book and recently the P2P support caught my attention as it directly relates to something i have been wanting to do for a while and WCF seems to save me a heck of a lot of time. However, I am not overly familiar with the net.p2p scheme, and from what i have read i have some questions. In the sample (and common in my scenario), there is one (or more) central hubs - that is, it's not a pure P2P network (some hubs, many nodes and X nodes are tied to any given single hub). Although the number of clients may be many, there will be a number of core hubs. Now, from my understanding (and perhaps this is just how the sample implements it), each message that is generated i ...Show All

  • SQL Server Error starting SLQSERVERAGENT and dont start

    Event Type: Information Event Source: MSSQLSERVER Event Category: (2) Event ID: 17055 Date: 26/01/2007 Time: 08:32:10 User: COBEBLOCAL\flexxuser Computer: SRV-COB-BKP Description: 8128 : Using 'xplog70.dll' version '2000.80.2039' to execute extended stored procedure 'xp_msver'. Data: 0000: c0 1f 00 00 0a 00 00 00 A....... 0008: 0c 00 00 00 53 00 52 00 ....S.R. 0010: 56 00 2d 00 43 00 4f 00 V.-.C.O. 0018: 42 00 2d 00 42 00 4b 00 B.-.B.K. 0020: 50 00 00 00 07 00 00 00 P....... 0028: 6d 00 61 00 73 00 74 00 m.a.s.t. 0030: 65 00 72 00 00 00 e.r... ...Show All

  • .NET Development is this possible , just yes or no

    can i use mdf (sql server database file) as database in my application whitout sql server or sql server express by attach this file directly such as mdb or accdb(access database file) > You have to have SQL Server installed (like SQL Server Expression) to attach a database to an MDF file. You'll need SQL Server compact installed if you want to read a SQL Server compact file (SDF). ...Show All

  • Visual Basic Need help: File.Copy throws TargetInvicationException

    Hello! I’m trying to set up a FileSystemWatcher, which I want to monitor a map, and as soon as a file is created, copy the file to another directory. Private Sub InitializeComponent() Me .FileSystemWatcher1 = New System.IO.FileSystemWatcher CType ( Me .FileSystemWatcher1, System.ComponentModel.ISupportInitialize).BeginInit() Me .SuspendLayout() Me .FileSystemWatcher1.EnableRaisingEvents = True Me .FileSystemWatcher1.NotifyFilter = System.IO.NotifyFilters. FileName Me .FileSystemWatcher1.Path = "C:\Temp" Me .FileSystemWatcher1.SynchronizingObject = Me ........ End Sub Friend WithEvents FileSystemWatcher1 As System.IO.FileSystemWatcher Private Sub Form1_Load( ByVal sender As Syste ...Show All

  • Visual Studio 2008 (Pre-release) a abnormity TextBox

    I saw some posts give the the code of drawing abnormity Button, <Grid> <Grid.Resources> <Style TargetType="{x:Type Button}"> <Setter Property="Width" Value="30"/> <Setter Property="Height" Value="40"/> <Setter Property="Cursor" Value="Hand"/> <Setter Property="Background" Value="Skyblue"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Grid> <Ellipse Fill="{TemplateBinding Background}"/> <ContentPresenter VerticalAlignment=& ...Show All

  • .NET Development Suggestion: Overload TryParse to accept defaults

    Hello- Most simple types (bool, int, double, etc) support a static TryParse function that will take a string, and a typed variable to try to parse that string into. It would be handy if there was a second overload of this TryParse function in each case that would also take a default value. Here's how it currently looks: bool foo; if (!bool.TryParse("true", out foo)) foo = true; Here's how it could look: bool foo; bool.TryParse("true", out foo, true); Thanks for the consideration, Eric D'oh. Nevermind. I just discovered that my account wasn't properly set up. By going to the "Manage your connect profile" link and filling in a little more d ...Show All

©2008 Software Development Network