Software Development Network Logo
  • Visual J#
  • VS Express Editions
  • Visual C#
  • Smart Device
  • VS Team System
  • Visual Studio
  • Windows Vista
  • Microsoft ISV
  • Game Technologies
  • .NET Development
  • Windows Forms
  • Architecture
  • Visual Basic
  • Visual C++
  • SQL Server

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

areia

Member List

Mark Arteaga
watch is
HOBO
Grumbler85
Alains
Dan1
Alex Media
KirHil
rdw
Jeff Barclay
WilliamAY
KenBaker
Anonym0us
lode
Friendly Dog
Alex
MartinGoldi
Sinan Do?anl?
HarrisSyed
Radha Mukkai
Only Title

areia's Q&A profile

  • Visual C++ Having Trouble with an exception

    Hello to all, I'm having a problem with an exception that keeps coming up when I try to run my program. Is there anything I can do to my code to get rid of this My code compiles fine. First-chance exception at 0x695bffe0 in proj_text_spheres.exe: 0xC0000005: Access violation reading location 0x00454001. Unhandled exception at 0x695bffe0 in proj_text_spheres.exe: 0xC0000005: Access violation reading location 0x00454001. I suspect the source of my problem has to do with a call to fclose. Here's part of my code (I writing an OpenGL program that maps a texture to a sphere): void read_fractal1_image(void) { errno_t err; ...Show All

  • SQL Server Error 1923 while installing SQL 2005 Express

    This is from the event log Product: Microsoft SQL Server 2005 Express Edition -- Error 1923. Service 'SQL Server ()' () could not be installed. Verify that you have sufficient privileges to install system services. I've tried uninstalling through control panel and various cleanup tools and tried reinstalling with no luck. I'm logged on with a user that has full admin rights. 1923 is an RPC error that translates to "The specified profile entry could not be added." You'll need to search through the SQL Server Setup log files for more detail on what went wrong. Start by looking here and in ...Show All

  • Visual C# Determining IIS Options via C#

    Hello. For my work, I'm automating system validation to be performed prior to installations of our software. One of the steps is to verify that certain options like "Common Files," "Internet Information Services Snap-IN", and "World Wide Web Server" are installed. I know how to verify this through Add/Remove Windows Components, yet I'm not sure how, or even if it's possible, to verify such things through the use of C# (which I'm writing the program in). Any help would be greatly appreciated. Hi The following code will help you get the list of services running in OS. From the list you try to ...Show All

  • SQL Server Using Charts crashes VS 2005

    I have been creating reports just fine in Report Designer 2005 until I tried to drag a report on an open canvas, new project.  I just used a simple bar chart and tried to drag over 3 fields from my dataset to allow it some information.  When I preview the report VS crashes with an unexpected error.  Is this something anyone has come across when trying to create charts    I assume it is not liking something I did but all I did was drag over 3 fields into the appropriate spots.  The error doesn't tell me anything and when I try to debug, it stalls. I'm not sure what it is, but to resolve I just copied ov ...Show All

  • Visual Studio Team System Weird Compare Issue

    When I click the "Check-In" button on a TFS SCC project in the source control explorer I get a list if .vspscc and .vssscc file conflicts that occur. When I click on resolve and then click the compare button I get a pop-up window that has the notification icon, 2 buttons but no text at all. Not even on the buttons. What is going on here I installed TFS about 4 days ago. Cheers, Mark Which compare button (there are 3) Can you post a screenshot including the resolve dialogs & the borked pop-up ...Show All

  • .NET Development High bandwidth usage over TCP Channel w/Binary Formatter

    Hi, I'm looking suggestions for ways to reduce the amount of data our remoting-based (.Net framework 2.0) application is putting on the network. It seems that each call to a remoted, wellknown object puts between 1000-1500 bytes on the wire as overhead (i.e. a call that takes no parameters registers about that much traffic), and the overhead on the return from a call is about the same. All in all, every call over the wire is putting 2 or 3KB on the network. Is this considered normal What have other people seen I used a channel sink to write out the contents of the streams before they are sent over the wire and it looks like there's a ...Show All

  • Visual Basic Portbability of Visual Basic application to ASP.NET

    I m designing and developping a visual basic windows forms application. But, in a second step, I want to be able to implement the same solution as a web based application without going through all the coding and developping again. So what s the best way to design and develop some forms and their code that ll be used both as a window form application (stand alone client server application) and as a web based application through the Internet explorer as well. My application should include forms, data acces, reports.......   Thanks a lot. Sorry, but I haven t created classes yet (weird ahh). So I guess ...Show All

  • Visual Studio Tools for Office Create a "Bare" Workbook From VSTO

    In my Excel VSTO project, I would like to provide an "Export" button that would copy and reformat one of my worksheets into a new "bare" workbook. The "bare" workbook would not have any VSTO code behind. So, for example, I could e-mail the workbook to a client, and the client clould see the data without worrying about Dot Net deployment and security issues. Read in the data from the sheet and stream the data out to a file that your user's Excel can read such as a CSV format. Hence it is a bare workbook. ...Show All

  • .NET Development When method returns Com Invisible type?

    Hello, What exactly is the behaviour here Marking BarNotForCOM [ComVisible(false)] will result in the ReturnBar() function to be exported as the quivalent of object ReturnBar(). QI on the unknown object will only succeed on IUnknown as thats the only interface you know on that object. Unless you have type information for the object you cant do much with it. If you implement an interface (even through another type lib/assembly) on BarNotForCOM and export it to VB , you could cast the unknown object to this interface. eg: [ ComVisible ( true )] [ ClassInterface ( ClassInterfaceType .AutoDual)] [ Guid ( "2DE8CF85-939B ...Show All

  • Visual Studio Express Editions How to publish

    When I published my application, I have no idea where it installed it self to what directory. My publish location is c:\program files\rma\ Yes it does put files here, but when I double click on an excutable file to install it, I think it went to c:\my document setting\etc. I want it to install to C:\program files\rma program\. Where is the setting path for this.. thank u Hi, If you have created setup project for distribution of you application then go the file system editor in setup project and in the Application Folder's Default Location Property put this value... [ProgramFilesFolder]\rma ...Show All

  • Visual C# How to know default value of Type

    In generic approach I can use default keyword to know what is default value public T GetDefaultValue<T>() {    return default(T); } But if only has a System.Type, I can't use default keyword to do it.... public object GetDefaultValue(System.Type dataType) {    return default(dataType); //Not work.... } Please help My bad.  The appropriate method to use here is Activator.CreateInstance .  I believe TypeDescriptor.CreateInstance will create an instance of a substitution type - as specified by a TypeDescriptionProvider. ...Show All

  • Windows Forms Using DataRowCollection Can't Insert New Rows Between Row and Row. Please Help !!!

    Hi All, I can't Using DataRowCollection Can't Insert New Rows Between Row and Row. All New Rows Appended Buttom Automatically. Need I Create New DataTable To Copy All Data Into New DataTable   If need, How can do that   Please Advised ! Thanks ! Here is my sources code.          y = myTable.Rows.Count;           for (i=0;  ...Show All

  • Windows Forms Excel 9 library

    hi.. im using Excel 9 dll - Interop.Excel.dll ..to save excel file to PRN file... i tried to deploy the application in another machine without MS Excel software installed. My application throw COM exception..asking to register Excel library........... is it necessary to install MS Excel or is there any other way to create Formatted Text File(PRN) from Excel file or RTF Files Regards Raju As the Excel library comes with MS Excel you will need to install it on any computer you want your application to run on. You can use the TextWriter class to write the formatted text, it will require some more logic from your applicat ...Show All

  • SQL Server IDENTITY fields

    I have a table with an IDENTITY column for a pkey. I'd like to insert one record into this table and use the generated identity value to insert ~100,000 rows in a second table. I'm sure this is a common scenario. I don't want to pre-generate identity values or anything like that - it seems like this should be a simple task and I'm missing something. I've tried OLE-DB Command tasks with INSERT INTO ....; SELECT SCOPE_IDENTITY() - but there doesn't appear to be a way to retrieve a resultset from the OLE-DB command task. I've also tried a data flow with a lookup for the identity, and then tried to merge the one  ...Show All

  • .NET Development How do I design my own interface to use in Visual Studio?

    Im designing a media player in C# for my project and was wondering if anyone knew any good tools to design my own interface and buttons. I have a very definite idea of what I want my interface to look like and the next step is to design it. Help much appreciated, Thanks. Hello, Depending on the type of designer you are looking for, there are a few options: 1) Visual Studio supports a Windows Forms designer (for building Windows Forms-based interfaces) 2) Microsoft Expression ( http://www.microsoft.com/products/expression/en/default.aspx ): While it has not been officially released yet (only in ...Show All

©2008 Software Development Network