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

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

dagfari

Member List

Raulsassaa
Flecko1
Missouri Mule
s441
Mitch Walker - MSFT
Siddhu
2162
John Meade
Coach24
Anth0ny
Mike Chapman
George2
outcast1881
Derek Nedelman
KIPPIE
Chibi-Acer
Wayne Munro
ChrisMentioned
rusty_dev
Electronic75
Only Title

dagfari's Q&A profile

  • Visual Basic Windows Media Center

    hello... how do you create a menu in windows media center I want to add a item/menu to the start page and when I click on it making it load up a page with stuff on it and making it so that i can do something on it.. just like this Screen shot: http://www.homeauto.com/_SiteElements/images/products/MCE/HAI_Home.gif can someone help me out.. Thanks. ...Show All

  • .NET Development Validating with XSD: Why is object System.Xml.XsdValidatingReader inaccessable?

    If I am validating an XML with an XSD, I set a handler for XmlReaderSettings.ValidationEventHandler. This method has a property sender, of type object. If I do a break-point in the handles and then use quick-watch to look at the property, I can see that object sender is of type System.Xml.XsdValidatingReader. System.Xml.XsdValidatingReader is not an object I have access to. I am trying to cast object sender as type XsdValidatingReader so I can access the 'Name' property (Trying to get the name of the node that has the error). I can see the value from quick-watch, but cannot access it because I am unable to cast the sender object as XsdValidatingReader. This is the short version of my code: 1 private void MyMethod() 2 ...Show All

  • Visual C# How to use DllImport with c++ functions that take a function pointer as an argument?

    I'm trying to understand how dll importing in c# works. I've managed to get it working for function F1 shown below, however I want to extend this to a function of type F2, which takes a function pointer as an argument I've look at the example on MSDN, but it is too dissimilar from what i am trying to do and I don't really understand it. Can someone tell me the c# code that will enable me to import the function F2 into my c# program, or point me to a a more basic tutorial than the MSDN help site, because I really didn't find it useful in helping me solve this particular problem. This is the .cpp file that i compile into a dll which my c# program then uses. I have successfully imported F1, but all attempts to import F2 have failed... extern ...Show All

  • Visual Basic add jpgs

    i have jpegs as well as .dat files in a folder called 'data' and i want to include all these in my project which i converted to vb 2005 from vb6, however, i cannot find how to publish them using the wizard; i.e i cant find any options to include these files! (i'm very new to vb.net - only been using it a few days!) From the Project menu...Add Existing Items...All Files... And then select the files you would like to add to the project...You can also create a Subfolder to place all of these files... HTH ...Show All

  • SQL Server Shrinking log with dbcc in full recovery

    BOL says should not manually truncate log in full recovery mode unless you make an immediate full backup because you will invalid the log sequence. Does DBCC shrinkfile(log_filename) with notruncate also invalidate the sequence Is there any way to shrink logs between full backups (I do back up the logs frequently, but often it needs a shrink statement to keep size under control still during a certain time window). Thanks. bk1 = 79k - 8pm bk2 = 14kb - 10pm bk3 = 5.7gig - 12am bk4 = 2327kb - 2am bk5 = 11290kb - 4am why at 12AM this much variation ...during 10-PM to 12AM why u have this many transaction... r u rebuiting index during this period or this is the period u have maximum user i ...Show All

  • Windows Forms MultiThread Visual Application

    I have TreeView on my Form. This application has 2 threads and I want to make changes with my treeView in 2nd thread, but here is such exception: name: InvalidOperationException and Message: "Action being performed on this control is being called from the wrong thread." what can I do with it thanks for your help i dont think i follow the invoking method will be in the UI thread. This is so that any other threads can call it and the UI thread will "invoke" the control/component it needs to invoke correctly. ...Show All

  • Visual Studio Duplicate items are not supported by the "Resources" parameter error when building project

    Hello, While building our current project using Visual studio 2005 we stumbled on this error, === Error 16 The item "xxx" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter === we traced the issue down to resource file naming convention differences between Windows Vista and Windows XP ie, for a given form, if we include chinese traditional and chinese simplified resources, On Vista the resx files must be named with zh-HANS / zh-HANT , using zh-CHS/zh-CHT VS2005 will choke On XP the resx files must be named with zh-CHS/zh-CHT, using zh-HANS/zh-HANT VS2005 will choke This is really causing trouble, as we develop both in XP and ...Show All

  • Smart Device Development how can i find the version of activesync

    Hi, For my app, i need to retreive the version of active sync running on the device and send it to the server. How can i find the version of active sync running Can i get it from the device registry or is there an other way Thanks, Hari. ...Show All

  • Visual Basic How to assign objects dynamically...

    Suppose I have an object reference... Dim Control1 As System.Windows.Forms.TextBox And I have a string Dim s as String. Now, s contains the name of an existing TextBox on one of my application's form. Suppose s="TextBox1" Now, my question is how do I assign the TextBox represented by 's' to the refeence 'Control1'   if control1 is nothing = false then    'control was found and now we can operate end if     The recommended form is: If  Control1 IsNot Nothing Then End If       ...Show All

  • Visual Basic Report with ability moving controls at run time

    In Data Report of Visual Basic 6.0 (Project -> Add Data Report) exist the ability to move report controls at Run-Time. In Visual Studio .Net 2005 how can I have the same functionality In VB 2005 (depending upon the version you have) Crystal Reports 10 is provided as a reporting solution. This is the only reporting solution that is available. I know in VB6 (crystal was provided also as a reporting solution) but cant remember if selecting this option created a crystal report. Either way you choices are to use the crystal report solution provided with specific versions of 2005 (in which case I would hazard the guess - that similar functionality to that of crystal reports in VB6 would be ...Show All

  • Visual C# Visual studio excluding files from configuration building

    In native code (C++ projects) you can right click on a file select properties and select "Exclude from build" to exclude a file from a specific configuration build. So I can have a file built in the release configuration but not the debug configuration. Is there a way to do this in managed projects. All I see is build action in the properties window but this excudes the file from the project and not a specific configuration. What am I missing Thanks Hi, As far as my knowledge goes, to remove a file from a release version, we can only exclude a file from the project while build action is performed. Thank you, Bhanu. ...Show All

  • Visual C# Debugging a process which won't shut down

    Hi there DotNetters Forgive me for the vague description, but here is my situation: I have a third party component I'm calling into which causes my application to hang once its shut down. Basically when I call into this component at a certain point in my code and then shut down my app later the app "appears" to shut down but actually hangs around in memory running in the background. (Killing the process from the process explorer does work). The tricky part is that if I call into the third party component from other sections in my code I don't have the issue (of course other problems permit me from calling it from the "safe" areas). So here's my question, realizing that it's difficult to get a handle on this without actu ...Show All

  • Windows Forms change Color of dataGridView line

    1) How to change Color of dataGridView line 2) How to find a value in dataGridView and make it highlight Thanks Do you want to change the color for a single row or "highlight" a whole row. To change the colors or style of a single row, you will need to use: dataGridView1.Rows[RowNum].DefaultCellStyle=... to highlight the whole row: dataGridView1.Rows[RowNum].Selected=true; to find a value in a DVG and "highlight" it foreach(DataGridViewRow dr in DataGridView.Rows) foreach(DataGridViewCell dc in dr.Cells) if(dc.Value==myValue) dc.selected=true; that will highlight or select every occurrence of the value, myValue Hope this helps, and I hope I'm posting to the right place, I don't understand the abo ...Show All

  • Visual Studio Breakpoint will not currently be hit. No symbols loaded for this document.

    I have been 'developing' with Visual Studio 2005 for about 3 weeks now - primarily .NET class libraries developed with VB. I am coming from VB6, although I did a lot of development with Visual C++ several years ago, so I am still trying to come to terms with the debugger. I have read many threads posted by people who are having a problem with breakpoints, specifically with the message in the subject line above. There have been many suggestions on how to fix this problem. Sometimes these suggestions work, sometimes they do not. Most of the suggestions involve deleting DLL and PDB files and rebuilding, or restarting Visual Studio. None of them suggest any problem with something the developer has done or any problem with the configuration of ...Show All

  • Visual Studio 2008 (Pre-release) Two-way binding with custom control

    I've got a rather elaborate master-detail setup using a tabcontrol, a listcontrol and a custom control. I am using an objectdatasource with an observablecollection of RaceLines. The tabs on the tabcontrol represent each RaceLine in the collection. Each RaceLine has a collection of Races, which are presented on the panel (as a listcontrol) for each tab. Each Race has a collection of CourseMarks which are displayed in a second listcontrol. The custom control has a dependency property called 'current race' which is bound to the selected item in first listcontrol. When i add a CourseMark to the customcontrol it updates the CurrentRace.CourseMarkCollection property, but this doesn't get updated on the first listcontrol so the second li ...Show All

©2008 Software Development Network