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

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

WolfgangB

Member List

workflow_novice
Tom25
-M-
curiousNovice
Bery
Lars-Inge T&#248&#59;nnessen
donkaiser
MiXen
Virendra Wadekar
djshades2004
Mark Wills
12HH
db_guy
jmsigler2
Gregor Jovan
Rahul_1980
ZopoStyle
Denvas
pu132
Luisfe
Only Title

WolfgangB's Q&A profile

  • Visual Studio Express Editions DataGridView Before Update Event ?

    In a DataGridView, is there an event before update we can used to perform some tasks, like updating fields of the current DataGridView or updating other tables that are not link to the current view Tanks for your answer the datagridview only shows the data being bound from the datasource, or directly added to it. That's all. In terms of doing operations before the update event, wherever you are placing the code to update the database, only there would be the chance for you to do your editing on wherever it needs to be done as far as I can understand. Sorry if I misunderstood ...Show All

  • Software Development for Windows Vista playing at the same FPS as of the video

    Hi All, I was just trying to write a filter that would be able to decode and playback an H263 frame. I am able to succefully play the video however the FPS is coming down than what actually the video is suppose to be playing in.(Actual FPS of the clips is 30 and i am able to hit a max of 24fps.). Can anyone let me know as to wat are the factors that need to be kept in mind to get the right FPS. Regards Hi Michael, Thanks a lot for the valuable input. I did make a check on the timestamps and i find that they are very much on mark that is difference between any tow consecutive sample is 33.33msec. I am not too sure there are any contraints on the availability of the processor. Any thin ...Show All

  • Visual C# Move objects between System.Collections.List

    Hi! I have two Lists (System.Collections) and I want to move (or copy) objects from the first to the second one. This is my code for(int x = 0;x < list1.Count;x++) { list2.Add(list1[x]) } But every time C# gives this error: Object reference not set to an instance of an object. How can this problem be resolved Thank you! Yes of course, I always make that mistake. Wouldn't new List(list1) be the same as iterating through one list and adding the contents to the second as the original poster though. ...Show All

  • Visual Studio 2008 (Pre-release) Orcas Install Problem

    After some major frustration I finally got Virtual Server 2005 going on my Windows 2003 Server. I followed the instructions to the letter on the Microsoft web site for installing Orcas. Problem is, while I have Virtual Server going with the appropriate base image, I don't see anything for Orcas... I am clueless here... Anyone know what is wrong Are the instructions leaving something out Out of dheer frustration, I decided I'd start all over again. I deleted the extracted images and re-extracted the images and decide I would follow the instructions to the letter where I could. Here is what worked for me. Changes to the base Instructions are in Red below: Items 1-7 are pretty straight forward and no cha ...Show All

  • Windows Forms Readonly databinding with a business object

    I tried to bind a property of a business object to a TextBox control. I used a BindingSource component to accomplish this task. So far so good :-) The property of the business object is a read only property. I thought that data binding recognize this and set the TextBox control to read only. I was wrong. But it's even worse. If I change the text in the TextBox control I can't leave the focus from the TextBox anymore. The focus is trapped in the TextBox control and the user doesn't get any error message. Is it possible that data binding recognize the read only property and set the bound control to read only Can I prevent the TextBox to trap the focus I think the usability for trapping the focus in a control if the validation ...Show All

  • Smart Device Development Obtain the name of the current executing Function

    Hi I need to obtain the name of the function which it’s executing, in other words the function need to know its name. Thanks for your help. System.Diagnostics.StackTrace lobjStack = new System.Diagnostics.StackTrace(); //Get the immediate caller System.Diagnostics.StackFrame lobjCaller = lobjStack.GetFrame(1); System.Reflection.MethodBase lobjMethodBase = lobjCaller.GetMethod(); string lstrCallingModule = lobjMethodBase.ReflectedType.FullName; return lstrCallingModule; // this will return the name of the class // you can use this to get function name also ...Show All

  • Visual Studio 2008 (Pre-release) Hosting a WCF Service in Windows Service? Advice/tutorials needed

    Hello, I'm just getting into WCF and would like to host a WFC Service inside a Windows Service but I can't quite figure out how. I can successfully create and use each part independently but merging the two eludes me. I also haven't been able to find any quickstarts/tutorials for this type of approach, although I have seen quite a few posts in this group from people who say they have done it. So could someone provide some guideance as to how this is done Perhaps some links to tutorials or best practices Thanks! Keith Keith, This issue already was discussed in the links below: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=446268&SiteID=1 http://www.issociate.de/board/post/ ...Show All

  • Visual Basic week number

    Hi How can we calculate week number in one month. I am bit confused about caliculating this week number in one month for example if we take today date 8/12/2006. Now we are in which week 2nd or first week (in december month) Our  zone is united kingdom.. Any help Thanks Or, Dim a As New DateTime(Now.Year, Now.Month, 1) Dim week As Integer = Math.Ceiling((Now.DayOfYear - a.DayOfYear) / 7) Since I like being a Math Nerd ...Show All

  • .NET Development I want results of xslt.Transform() to be an XmlDocument or string, not written out to an intermediate disk file.

    I would like to have the results of xslt.Transform() in an XmlDocument or string, rather than having to specify a file (xyz.xml, in the code below). static void Main( string [] args) { string strxml = @"< xml version=""1.0"" encoding=""utf-8"" ><myroot><Price>15</Price><Price>25</Price><Price>35</Price></myroot>" ; XmlDocument doc = new XmlDocument (); doc.LoadXml(strxml); // test XmlDocument... // Console.WriteLine(doc.OuterXml); //do xslt... XslCompiledTransform xslt = new XslCompiledTransform (); xslt.Load( "output.xslt" ); xslt.Transform(doc, XmlWriter .Creat ...Show All

  • Software Development for Windows Vista Adding a custom service to sharepoint hosted workflow runtime

    I have a custom service that I would like to add to the sharepoint hosted workflow runtime. I don't see a corresponding configuration section in the web.config file of the sharepoint website. Does anyone know how I could do this Thanks! Since your question is specific to SharePoint’s implementation of Windows Workflow Foundation you should post your question to the SharePoint - Workflow forum. ...Show All

  • Smart Device Development specifying path names on mobile devices

    hey there.... I am using visual studio to create a program that reads and writes from an xml file "books.xml". Everything deploys ok to my ppc but I'm having trouble specifying the path name of the xml file. does anybody happen to know... - How can I specify an absolute path on windows mobile 5 ( "c:/books.xml" doesn't allow me to find the file). - Where should I put an xml file when using a relative path referring to("books.xml"); and placing the file in the deployed application directory on my ppc returns an error that it can't find the file either. any help is would be greatly appreciated.... ch ...Show All

  • SQL Server Writing Data to CD

    Hello, I am trying to use a recordable CD as the storage medium for a comma delimited flat file destination in an SSIS package. I am running the developer edition of SQL Server 2005 on Windows XP SP2. I discovered that in the file connection manager for a flat file, the path to the file can point to a directory on the CD-R. When I set the file name for the connection manager and point it to a file on the CD, the path looks something like this; C:\Documents and Settings\juser\Local Settings\Application Data\Microsoft\CD Burning\Archive\MonthlyMCTxnDetail_Archive.txt When I run the package, the packge executes without a problem, but no 'burning' occurs. When I check the directory specified in 'file name', there is a header in the ...Show All

  • SQL Server Database Collation setting

    I have a SQL Server 2005 database which is set for SQL_Latin1_General_Cp1_CI_AS collation (Actually when the instance was created it was set to this collation).....I have lot og objects --- tables,views, fks, col constraints , triggers, default etc defined.... I need to change the collation of the database and subsequently affecting the collation of every single column to SQL_Latin1_General_Cp1_CS_AS Now when I run the following command i gives me lot of errors saying that ALTER DATABASE <dbName> COLLATE SQL_Latin1_General_Cp1_CS_AS The column constranint <xx> is dependent on collation ..... The funny part is that this col constraint is defined on a float column instead of varchar column.....why is it giving e ...Show All

  • SharePoint Products and Technologies Passing the Excel parameters to the backend

    I can define parameters in Excel Services, but I couldn't find any directions on how to pass those parameters to the back-end SQL Server relational database. Our users may see different set of data depending on their position. The Asia manager isn't allowed to see New York data for instance. I need to identify the user currently viewing the Excel sheet, and pass it's name as a parameter to the SQL server, so that SQL will filter out the data that the user isn't allowed to see. Is there an article out there that shows how to pass parameters to an SQL data source from Excel Services Is this a security sensitive restriction If so, you may want to keep all user/permissions checking on the server ...Show All

  • Visual C# DataGridView - KeyDown and KeyPress events

    I need prevent emergence signs from numeric keypad in cells of DataGridView and rerout their entry at textBox1. This code is solve the task in textbox controls, but at DataGridView no prevent entry at cell, nor from them does pass-off. Does anybody know how to solve this private void dataGridViewOrders_KeyDown (object sender, KeyEventArgs e) { if ((e.KeyCode >= Keys.NumPad0 && e.KeyCode <= Keys.NumPad9) || e.KeyCode == Keys.Add || e.KeyCode == Keys.Divide || e.KeyCode == Keys.Multiply || e.KeyCode == Keys.Subtract || e.KeyCode == Keys.Decimal) { // Determine whether the keystroke is a backspace. if (e.KeyCode != Keys.Back) { // Set the flag to true and evaluate in KeyPress event. flag = true; } } } private void dataGridView ...Show All

©2008 Software Development Network