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

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

mendi

Member List

Dave Koehler
DavidTempeArizona
Spicer650
Stéphane Beauchemin
José Antonio Farias - MVP
llkoolj
Bill Foust
Fusion54
adorer
vipix
Johannes Hansen
dragoncells
Faraz_Ahmed
kennm
DrFlick
abssoft2000
Cyber Junkie
ozhonetech
dvdribeiro
arcliner
Only Title

mendi's Q&A profile

  • Visual Studio Failed to open report.

    Hi all,   I recently migrated a c# web application from "Visual Studio 2003/Crystal Reports XI" to "Visual Studio 2005/Crystal Reports XI Release 2". I have released the latest build for test and we intermittently experience a problem: the crystal reports work fine and then they fail after a random period. Here is the error information:   Error Message: Failed to open report.   Error Source: Analysis Server   Error Target Site: Void Open(System.Object ByRef, Int32)   Exception Stack Trace:    at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)    at CrystalDecisions.ReportAppServer ...Show All

  • Visual Studio Can't edit macros; "The parameter is incorrect."

    I am getting "The parameter is incorrect." when I try to edit macros. I get it from the context-menu in the Macro Explorer and I get it when I use the Tools menu to get to the Macros IDE. I have also gotten a message saying that an interface is not registered but I forget the details and I cannot get it to happen now. It is highly likely, nearly certain, that I messed it up. I tried to convert a couple of VC 6 macros and messed things up. Now however I can't fix it. I hope we don't have to totally re-install VS. I don't mind losing everything in MyMacros.vsmacros if I must so if someone wants to explain how to do that then that would help. I tried to search for provious answers; if there are any then I don't know what to search for. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "Indie" Game Development on Xbox 360 and PC

    (This is my first (technically second, I commented on something else) post on these forums) Alright, as a high schooler looking to get into game development after college (or possibly even nixing the college and going straight in) I was wondering if Microsoft was planning on doing anything at all with the XNA Framework that would support low budget game development. How available will tutorials and books about the code be available How much money will the tools and such cost How easy is this code going to be to learn Will it be easy for people to test on PC and a (normal) Xbox 360 with this code I've questioned Nintendo (through their website) about whether or not they'd be supporting "Indie" development, and I was given an aff ...Show All

  • Windows Forms Changing underlying datasource and change notification

    I have a typed datarow that I bind to controls through the BindingSource component. For example, BindingSource mysource = new BingindSource(); mysource.DataSource = this.datarow; this.textbox1.DataBindings.Add( "Text", mysource, "TotalCost", true, DataSourceUpdateMode.OnPropertyChanged, null, "C2"); Now I want to change the value of the underlying datasource programmatically but it doesn't update the text for textbox1. this.datarow.TotalCost = 200; How can I tell textbox1 to refresh itself every time the underlying datasource changes Thanks in advance, I think bindingsource was only designed to connect the control and their datasource. The notification of data change should ...Show All

  • SQL Server Assigning a lower priority to some users in SQL Server.

    I have a production database used by a web site, and at the same time a group of read-only users who can query the database directly “without the web site” When one of the users runs a complex query, it slows down the server, and affects the web site. Is it possible to change the SQL User account or SQL User Group’s priority to low You know, the same like in the Task Manager and Windows, I can change a process to low, so it will not affect the important processes, can I do this in SQL Server, and is there any workaround. Besides the guessing, does anyone have a real solution Are there sql execution priorities available in SQL Server Or they are just in the deal databases, like Or ...Show All

  • Visual Basic Settings Page in Project Designer

    How can I add a setting in the Settings Page of the Project Designer of type MyCustomType Where MyCustomType is declared in the current project. Are there any examples on how to manually add a setting to the Partial MySettings class in the Settings.vb file ...Show All

  • .NET Development GAC problems after deinstallation of framework 2.0

    Hello, I also have a problem with the uninstallation of the Dot net framework 2.0. After uninstalling I got a recursive download directoy underneath the c:\windows\Assembly directory. The server I'm working on is a windows 2003 standard edition. When I open the explorer and go to the c:\windows\assembly directory, I See an download subdirectory, in that subdirectory, there's another download directory, with underneath that one another and another, as far as I tried it's endless. Does anyboby has clue on how to solve this. I tried to delete the directory, but since it's a Special system directory I can't delete the recursive directories. and another question about this can this harm the functionality of the system Thanks ...Show All

  • Visual Studio 2008 (Pre-release) Orcas January CTP doesn't support .NET 3.0 projects ?

    When, within Visual Studio Orcas January CTP, I try to open a WPF project created with Visual Studio 2005 with WPF extensions, Orcas tells me that this project type is not supported. XAML files seem to be treated like normal XML documents. Are those bits not yet in this CTP There is no support for .NET 3.0 in this CTP of VS.NET, there wasn’t in the previous once either (the once published as virtual machines). And from what I see, it looks like we are 2 years behind in that area, if not more; the early .NET 3.0 additions for Visual Studio were primitive, and the developers in MS there had a year or more to develop them. But that is expected, we were complaining since 2005 about how slow VS2005 is wi ...Show All

  • Visual Studio Express Editions Updating listbox items - Must be a simple answer

    Hi, I've been trying to write a piece of code that, will update the value of the current .SelectedItem in a listbox. I am using a CheckedListBox and want the ability to edit the text associated with the currently .SelectedItem. This code will not work: clbCategories.SelectedItem = strCategory The value in the Listbox remains unchanged. I'm sure I am missing something really simple. But cannot figure out what it is. All the examples show you accessing the value not setting the value... Cheers, Roy you can try this: if Me.theListBox.SelectedIndex > -1 then    Me.theListBox.Items(Me.theListBox.SelectedIndex) = " New Value " end if   Another way per ...Show All

  • SQL Server Losing config file between child packages and *$##@!- Passwords!

    I have a parent package that uses Execute Package Task against three child packages. They are all setup to use the same configuration file, and the packages are all located in the same folder. Purpose of the configuation is to use the same connection strings for each child package. I removed the path from the config. file specification to facilitate deployment. During debugging, the child packages cannot find the config file when they are run via the parent unless the full path is specified. If run standalone, a child package can find the config. file without the path. As I said, all dtsx filaes and the config file is in the same folder. Also, the password-removal issue is killing me in development. Everytime I touch the config. f ...Show All

  • .NET Development Problem with StreamReader

    I'm have a problem with the StreamReader that I can not figure out. As I have it set up right now, it will read through a text document. The text documents are created through our network backup utility. The problem that I am having is that when I run the program I am getting "Object Reference not set to an instance of an object". But if I open the text document manually and hit save without modifying the document at all, then the program run perfectly. Here is a copy of the code that is failing: Dim fs As New FileStream(FileAddress, FileMode.Open, FileAccess.Read, FileShare.Read) Dim reader As String = "" Dim streamreader As StreamReader = New StreamReader(fs) Do Until reader.StartsWith("Job Log") ...Show All

  • .NET Development client server communication exchanging of wide char over TCP sockets??????

    hi , i have written a client server pgm . the functionlity of which is to download a file from another client via server. here im passing the file path of remote machine (the file name is in Chinese Char eg : C:\\使能 折.txt, this path i need to send it via socket send. how can i do it. i tried may ways :- --> converting the char to wide char using wcstombs etc etc but of no use. how can i do it it is very urgent .. Pls help me waiting .. Sandeep Thank you for your help.. But my code is in VC++6.0 not in .NET can u please tell me how to do the same in VC++6.0 expecting earlier response Regards Sandeep ...Show All

  • Visual Basic Split Question

    I need splitting a file for get any info I wrote this Code:   Dim number As Integer = 0 Dim ParamSeparator() As Char = { "G" , "I" , "F" , "8" , "9" , "a" } Dim gif As String = File.ReadAllText(OpenFileDialog1.FileName) Dim i As Integer = 0 For Each files As String In gif.Split(ParamSeparator) If files.Length > 0 Then ListBox1.Items.Add(i & " " & files.Length + 6 & " 0" ) i = i + files.Length + 6 number = number + 1 End If Next TextBox1.Text = number   And it work but i have a problem with " ParamSeparator". My problem is that if i have a file with this Text: GIF89a11 G GIF89a32 The G doesn't go counted be ...Show All

  • Visual Studio 2008 (Pre-release) Where does the teapotModel come from?

    Hi, In the Basic3D sample you see: teapotModel.Geometry = (MeshGeometry3D)Application.Current.Resources["myTeapot"]; And I can't find any resource file in the project. I'm left wondering where the "myTeapot" is coming from.... Regards ...Show All

  • Windows Forms give application .NET Framework permissions

    I have an application that writes a text file to a folder in the users C:// drive. This application is run from a network folder by multiple users and it gets this error: Request for the permission of type ‘System.Security.Permissions.FileIO.Permission.mscorlib. It says to grant this application the required permission use the .NET Framework Configuration tool. I can get it to work by creating a code group in the configuration tools but I was wondering if there is a way to do this in the application itself I solved the problem by using ClickOnce deployment to publish the program to the network folder and setting the application to a full trust application using the ClickOnce Security Set ...Show All

©2008 Software Development Network