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

Software Development Network >> Leaf.'s Q&A profile

Leaf.

Member List

Chernichkin Stanislav
SuriP
Marci Weinberger
NitinAgarwal
Wendell G
MrBradford
kmmii
NewToVBInAR
akin_l
Matty4242
Raul Garcia - MS
Schwarzer Schmetterling
Joel Hensley
David Davis
James_Steven
mtgRhox
banababa
yokike
ftbx
J A Y
Only Title

Leaf.'s Q&A profile

  • SQL Server How do you pass data to a subreport in local mode?

    I know that to pass data to the main report in local mode you simply use: ReportViewer.LocalReport.DataSources.Add(New ReportDataSource("myDataSource", myDataTable)) But how do you pass data to a subreport inside of the main report I would expect a ReportViewer.LocalReport.SubReports collection or something but I do not see one. Using ReportViewer.LocalReport.DataSources.Add(New ReportDataSource("SubReportDataSource", SubReportDataTable)) did not work You have to pass the data for the subreport in the subreport Event Handler. Example: this .reportViewer1.LocalReport.SubreportProcessing += new SubreportProcessingEventHandler(SubreportEventHandler); pri ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Programming Noobs

    I'm currently going to school for game development and have absolutely no experience with programming or any of the scripting languages. Will the GSE be "beginner friendly" or will I need to obtain some prior knowledge of certain tools in order to be able to use this platform Thanks, 93 Simpler development environment means less control. If you want to do simple platform stuff or 2d shoot'em up, take look at the free, and excellent Basic4GL. It is frustratingly primitive, but you accomplish a lot in a few lines of code. (Btw, it doesn't have procedures, so GoTo and GoSub will be used… Great…) I can't say anything about GSE yet, but creating simple 2d stuff using managed Di ...Show All

  • Visual C# monitoring registry and folders

    Hello, I want to know (using C# 2005,) how would I monitor changes or additions made to selected registry keys and to certain folders in Windows XP Regards, SSZ Hi, I've got the programme to monitor changes to a particular registry key entry but the problem I'm having is how would I get the value and path of the key which has been added to a subkey for example, a new key has been added to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\, how would I pick up the new addition made to the subkey Thanks! ...Show All

  • .NET Development Process.GetProcess() Issue

    I'm facing trick problem. I'm using Process.GetProcess( ) method to get all the process which are running in server. This code causes the application termination. If i want to get what kind security permission i have to set . Can any one help Regards Unsure what "find the previous instance" means. Anyway, if you have a semaphore with a maxCount of n, you will be able to call WaitOne and not block n times. After this a call will block, waiting for a Release. There is a timeout overload. If you put 0, you can just check if the count is n or less. ...Show All

  • .NET Development How to remove columns from DataView but not from DataSet table

    Hi, I use DataSet only one times and then I create DataView many times in the cycle . This DataView is used for generating individual client offers. I want to hide RegionID from DataView, but not from DataSet dv.Table.Columns.Remove("RegionID") ' this doesn`t work Does exists something like ColumnFilter Example: Dim dsNews as DataSet Dim saGenerator As SqlClient.SqlDataAdapter Dim dv as DataView ... saGenerator.Fill(DsNews.Offers) 'only once For Each ClientID In ClientIDs  dv = New DataView(DsNews.Offers)  dv.RowFilter = "RegionID IN (" & IndividualOffer(ClientID) & ")"   'Each dv converting and saving to *.CSV file Next Notes: IndividualOffer - returns comma separated string ex. "1,5,10 ...Show All

  • Visual Studio Ambiguous Collection names prevent removal of duplicates

    I am trying to reduce the large amount of duplicate help files in my " Visual Studio 2005 Combined Help Collection Manager " but am having trouble due to ambiguous collection titles generated by various Microsoft products. Here's my list of currently available collections: .NET Development Microsoft SQL Server 2005 Mobile Edition Windows SDK Collection Micosoft Windows SDK MicrosoftR .NET Framework 3.0; SDK Workflow Foundation Help See what I mean How am I supposed to figure out which collection represents the latest version of the Windows SDK documentation This is really maddening. Why can't you put some sort of version # next to the collection Hi Kevin, I can understand the frustration here. I'll try ...Show All

  • Visual C++ VS2005 float bug?

    I am trying to subtract 3.0 from 3.55 in VS2005 C++ and get the result 0.54999995 The result is correct 0.55, using the same code in Visual Studio 6. HELP !! #include "stdafx.h" int main(int argc, char* argv[]) { float a = 3.55; float b = 3.0; float c = a-b; return 0; } Thanks, yes I have researched and understand the accuracy issue. However, the sum is 3.55 subtract 3.0, so we are well within any significant digit boundaries Visual Studio version 6.0 delivers the correct answer of 0.55 But, Visual Studio 2005 does not calculate the sum correctly It's the same code ...Show All

  • Visual Studio 2008 (Pre-release) Text and vector graphics document generation. How?

    I'm writing a large wizard like application in WPF. As the user goes through different statges of the app I want to generate a document with text, formatting, and vector graphics generated from my visually appealing custom controls. I've got xaml, xps, and WordprocessingML (Word 2007 Beta 2) at my finger tips but I can't bring it all together. I can serialize my controls to xaml, I can put them into a FlowDocument and save out to an xps file, but I can't load the xps file in Word 2007. I can render my controls to bitmaps and generate a Word 2007 xml document that contains pixelated images and text, but I can't put a xaml file into it. I'm feeling a tad disappointed. Has anyone gone down this path and come up with a good solution ...Show All

  • Visual C++ Visual Studio and MS Natural Keyboard Pro

    Hello, I have come up on an issue that is really annoying for me. Whenever I press the "Search" button on my Microsoft Natural Keyboard Pro in Visual Studio it opens the "Microsoft Visual C++ Developer Center" homepage in the Visual Studio IDE and it is supposed to run Snoop.exe. I used TweakUI to set the "Search" button to open Snoop (http://grail.cs.washington.edu/software-data/snoop/ - excellent program) globally but for some reason Visual Studio consumes this key press and opens the previously mentioned web page. I've searched through my keybindings and made sure that Help.* and Community.* do not have any keys assigned to them. What else could it be and how do I fix this ...Show All

  • Windows Forms Fill in a Grid Freeze Problem

    I have a question reguarding how to impove the perfermance to show data in grid! I have a lot of data to show up in a grid, therefore my app freezes for a little while until it finishes, what I did was excuting the fill method in a thread to speed up the process and make smooth, but it did not, here is my code: private delegate void GridCallback ( DataTable msg); private void GridFunction( DataTable msg) { dataGridView1.DataSource = msg; } public void GridThread() { dataGridView1.DataSource = null ; SqlConnection testConnection = new SqlConnection (connectionString); SqlCommand testCommand = testConnection.CreateCommand(); testCommand.CommandText = "Select * from Claims wh ...Show All

  • Visual C# GetManifestResourceStream / parsing / stream reading

    Evening folks, I'm making a small addin for windows live messenger, this .dll file will be sandboxed, so i dont have any IO or Inet access.. so the way i'm doing things is like this: I have a file, quotes.txt which is an embeded resource, i can access the file using GetManifestResourceStream heres some code :) Assembly _assembly = Assembly .GetExecutingAssembly(); Stream str = _assembly.GetManifestResourceStream( "StatusMsgChanger.quotes.txt" ); Random r = new Random (); int i = r.Next(16); string str1; str1 = string .Format( "quo{0}" , i); messenger.AddInProperties.PersonalStatusMessage = str1; the text in my quotes.txt file is like this: quo0, This is a quote ...Show All

  • SharePoint Products and Technologies MOSS 2007 RSS Viewer's XSL Link not working

    Has anybody been able to get the MOSS 2007 RSS Viewer Web Part to work with the XSL Link I have an RSS feed file and a style sheet in the same anonymously accessible location. It works fine if I just point the web part at the RSS feed. If I try to use the XSL link, it fails every time with this error in the logs: RssWebPart: Exception handed to HandleXslException.HandleException System.ArgumentNullException: Value cannot be null. Parameter name: s at System.IO.StringReader..ctor(String s) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXslCompiledTransform() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform() I started by using the default XSL copied from "XSL Editor..." in the web part. ...Show All

  • .NET Development C# Interop problem with ASP.Net

    I am using DllImport to call the win32 API of our own C++ dll. The API takes pointer to pointer to struct. So I am passing reference of IntPtr to that API and getting the data . I am using Marshal.ReadIntPtr to get each pointer to struct and get the data within the struct. If I call this API from any windows application (console) I am getting the proper output and everything works fine. But incase of ASP.Net, when I call the API from the code behind, the data comes properly but, in many cases the aspnet_wp.exe crashes. When I debug that, I found that till the page_unload of the web page everything works fine, and after that only suddenly the worker process crashes. Thus I felt there can be some problem in deallocat ...Show All

  • Visual C# Exception Breakpoint on Application Termination

    I am using C# 2005 Express edition. My application runs fine but on closing I get the following message (for some reason I can't take a screenshot of the dialog) The exception breakpoint A breakpoint has been reached (0x80000003) occurred in the application at location 0x7c90130 This happens in the debug version and release version. My first reaction was that I had left a breakpoint in the program, my second that it is related to the debug version. I am new to C#2005 and could not find any swicth to change the build type from debug to release so don't know if calling for a Build automatically created a Build version. I would like to get rid of it since it would be annoying for my users Thanks in ad ...Show All

  • Visual Studio Problem inserting code Snippets

    Hi, I am having difficulty inserting code snippets. When I right mouse click and say Insert snippet I'm told that there are "No snippets available". The same thing happens if I go Edit -> Intellisense -> Insert Snippet. I've checked in the Code Snippets Manager and all the locations and paths are correct and I can view all of the snippet files in explorer. This used to work fine for me. I installed SP1 about 2 weeks ago - but I'm not sure if this is when the problem arose. Can anyone shed any light on what might be wrong Thanks very much, dlarkin77 Hello- I'm not sure what caused this issue, but I can suggest a couple of possible fixes for it. First try deleting the file "Document ...Show All

©2008 Software Development Network