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

Software Development Network >> J P R's Q&A profile

J P R

Member List

MDesigner
yagfxg33k
DazlerD
gumtoo
billqu
AlexDcosta
T-Smooth
GSReddy
akjal
gmedia
Jiajia
Dr. YSG
PawanSingh
johnnyXNA
kawano1h
Mark Benningfield
Slyspa
micronax
Trainwreck
andyhull
Only Title

J P R's Q&A profile

  • Visual Studio 2008 (Pre-release) Richtextbox behavior

    Hi Which is the property which indicates that a paragraph contains a bulleted list or a numbering list in a richtextbox Thanks a lot You got it right, almost. Your code above will work in most common cases when your content has only Paragraphs within ListItems. But in theory, a ListItem can have any Block children. e.g. BlockUIContainer/a nested List/Section etc. e.g. consider following content. <FlowDocument> <List> <ListItem> <Section> <Paragraph><Run>aa</Run></Paragraph> <Paragraph><Run>bb</Run></Paragraph> </Section> <Section> <Paragraph><Run>cc</Run></Paragraph ...Show All

  • Software Development for Windows Vista Vista Logoff and Shutdown

    Hi, I try to rewrite our Gina as Credential provider for Vista. Our Gina could use WlxShutdown() function to detect what is now: shutdown or restart, and then call appropriate functions. Also we could delay shutdown using WlxSetTimeout() function (it is very imortant for us). I found a lot of info about how to logon in Vista. But I could not find info about how to logoff or how to detect shutdown or restart or how to deley shutdown. We could not use WM_QUERRYENDSESSION. Could somone tell me where I could find it Please could you explain me how you managed this kind of credential provider Thanks for your help ...Show All

  • SQL Server Ug! Replicated tables missing Default Values and Identities.

    Ok, so I must have screwed something up. I have several databases set up for transactional replication to another instance of SQL Server 2005 for fail over purposes. Today, I restored one of those replicated databases to my development machine and discovered two surprising problems: 1) The Default Values settings in the replicated tables are missing. They are there in the publishing tables, just as they were before I set up replication. However, they are not in the subscribing tables. Now, this is not such a big issue, since I tend to send all default values in insert queries as necessary. 2) The second problem is a more of an issue, since I use auto-numbered Identity columns in my tables (yes, I know that's just plain lazy...). ...Show All

  • Visual C# Fixed

    Hi All I'm trying to get somme code to work but it just won't and I can't figure it out! I'm trying to get soem information from a database using a uniqueidentifier key field. I want to take the information out of the databse using output parameters. I've created the follwoing code: string ConnectionString = WebConfigurationManager .ConnectionStrings[ "plss" ].ConnectionString; Guid UserGUID = new Guid (userID); SqlConnection conn = new SqlConnection (ConnectionString); SqlCommand cmd = new SqlCommand (); cmd.Connection = conn; cmd.CommandText = "plss_Users_AllUserData" ; cmd.CommandType = CommandType .StoredProcedure; cmd.Parameters.Add( new SqlParameter ( "@M ...Show All

  • Windows Forms Simple Form and Datagrid

    I have a form with a datagrid using the dataset, adapter when I change a record and try to save the following error occurs. Update requires a valid UpdateCommand when passed DataRow collection with modified rows. this is the update code: this .Validate(); this .currentTransactionsBindingSource.EndEdit(); this .currentTransactionsTableAdapter.Update( this ._2000GLDataSet.CurrentTransactions); Can anyone tell me how to what is wrong. ...Show All

  • Visual Basic updating data grid connect to ms access database.

    I have a ms access database with a table consisting of the fields user_id and password. i have a datagrid binded with this information that is displayed in a vbform. i have added an "add" button. when i press this i want the new data entered in the datagrid to be updated in the msaccess database as well as the datagrid. so far i have the following code: Dim connStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source = C:\Documents and Settings\Owner\My Documents\Telephone.mdb" Dim con As New OleDb.OleDbConnection(connStr) con.Open() Dim objcommand2 As SqlCommand = New SqlCommand objcommand2.CommandText = "INSERT INTO Users" & _ "(User_ID, ...Show All

  • SQL Server SQL 2005 Express - sqlserv.exe memory usage always increasing.

    Hi, I'm hoping that some might have an answer for me after much net searching. I have a server (200GB disk space, Dual 3.8 GHZ processors, 4GB memory) that hosts 6, very small, SharePoint sites (WSS 2.0) and SQL 2005 express handling 1 config DB and 7 content DB's. The biggest DB at the moment is only 300 MB and the sites are not actively being used yet, they are only open to a select number of users (+ - 25 in total) who are using them as reference "areas" at the moment. Each site is running in it's own application pool as well. I find that the sqlserv.exe process increases in memory usage and does not seem to decrease. It gets to the point of 960 MB usage and then databases cannot be used (SQL 2005 Express max memory ...Show All

  • Windows Forms Reorder of Row

      I'm really trying to simply move rows in a datagridview around and having no luck at all...   Solution: #Region " DRAG AND RE_ORDER dbGrid "     Private dragBoxFromMouseDown As Rectangle     Private rowIndexFromMouseDown As Integer     Private rowIndexOfItemUnderMouseToDrop As Integer     Private Sub dbGrid_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles dbGrid.DragDrop         Dim clientPoint As Point = dbGrid.PointToClient(New Point(e.X, e.Y))         rowIndexOfItemUnderMouseToDrop = dbGrid.HitTest(clientPoint.X, clientPoint.Y ...Show All

  • SQL Server Add new tables to replication

    Using SQL Server 2000 with sp4, I have setup a merge replication with a snapshot, currently if we do a schema change we have to: -break replication, -stop the subscription, -make our modifications to the publisher, -then create a backup of the database, -push the backup to all of the subscribers, -restore the database to the subscriber, -reinitialize the subscription and push the subscription to the subscribers without pushing the contents of the initial snapshot the reason why we do it this way is that the various servers are located hundreds of miles apart from the publisher and even with broadband connections, re-initializing the subscription always fails. this is incredibly cumbersome and time consuming and i know there must be a bett ...Show All

  • SQL Server Object reference not set to an instance of an object

    Hi I m trying to access a server report through report viewer control. I got the error "Object reference not set to an instance of an object". I have administrator rights on the reporting server. My code is as follows: ReportViewer.ServerReport.ReportPath = "/Reportfolder/reportname" ReportViewer.ServerReport.ReportServerUrl = New System.Uri( "http://servername/ReportServer" , System.UriKind.Absolute) ReportViewer.RefreshReport() I have created this report using Business Intelligence Projects. I am using textboxes and rectangles throughout the report. When I compile and run the project through Business Intelligence Studio, it works very fine, but when I try to access it through direct ...Show All

  • Smart Device Development deploy with the .exe file

    I have finished an application with c# .net cf 2.0 And I build it with the setting is "release" "any cpu", then I send the application's .exe to my user, and the exe file be in the application\bin\release . the user's handset is windows mobile 5 handset. Can the .exe run at the user's handset Is it right of my deploy way Please tell me, Thank you This is because I believe it is against the rules to re-distribute or host the files on your server. The link I have given is for the redistributable package, which you then I think customize to deploy the .NET CF 2.0 with your application. I am pretty sure that it is not allowed for a user to host Micros ...Show All

  • Visual Studio Team System Only one transition when creating WI

    Hi, I'm building a solution using WSS and WIT. A WSS list hosting all user's demands and bugs must be imported in the TFS WIT Database. I have created special transition for my target WIT with a specific Reason called "Imported from BugList" but when validating my Work Item Type Defintion, I have got a message saying that only one transition from an empty state could exist in a type definition. Could I bypass this restriction because I really need to import all existing items. Thanks a lot I think that you can only transition to one state from the empty state in a valid work item type definition although I will double check. However on importing a bug in ...Show All

  • SQL Server Does anyone knows what is needed in each PC for that?

    Hi everyone, I’m pursuing a fast deployment for SSIS. I mean, we’ve got ten ASP/VB6 developers which often doing some DTS stuff by mean, of course, Enterprise Manager. Now, they’d have to handle the same but with SSIS. I don’t have very clear whether only is necessary install them SSIS component or it’d requires something else. Framework 2.0 too If they are building packages then they will need BIDS installed. If they want to run them on their client machines from outside BIDS then they will need SSIS installed (which is a different install option on the CD). Framework 2.0 is required but that will be installed off the SQL Server CD automatically if it is needed (I think). Does that answer the question -Ja ...Show All

  • SQL Server Reporting Services 2005 textbox with html?

    Hi, Is it possible to insert html into a text control I have some records containing html that are saved using a website based on a richText html editor... How can i send the html to the textbox so that it would render like it is desired If by any reason i cannot use html how can i at least specify line breaks and feeds Best Regards, LS Hi, no you can’t use HTML here. It was always on the roadmap but not implemented yet. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development Xml File

    hi everyone, i have a web application which need to display the number of xml file i have in y folder. How do i search and see whether my folder have xml file inside. string url = "H:\\WSAT\\WSAD Assignment\\quotation.xml" ; is it something like this. i look for the path and see whether consist of xml file or i need to loop the folder to search for xml file. Please help! Thank you! Your sincerely, Cindy hi, sorry another question ya, you're right this is what i am asking. But when i click on my button event then the validation checking will be executed and not the SelectedIndexChanged. But it cannot works when i put this in my button event ...Show All

©2008 Software Development Network