srshaw3's Q&A profile
Visual Basic [VS.Net 2005] Report Viewer datasource
I didn't really know where where to put this topic so I'll just try it here... I made an report in Visual Studio 2005 Beta(.rdlc) where I had to assign a datasource. When designing a new datasource this is default done with a dataset template which works fine for static reports. I, on the other hand, am trying to design a report in which I must be able to set some filters. The amount of filters can differ; sometimes users want to select more f ...Show All
Windows Forms How do I get a value in a row of a datagrid? I mean, the underlying DataRowView value...
I need to delete a row in my datagrid when the user presses the delete button. What I want to do is get the underlying datakey value, it is actually in Cell 0 and hidden from the user. How can I go about doing this I am sooo stuck. I can get the row index and so forth, but this is nothing like web datagrids. I just need to get the ID in the particular row and pass it to my delete procedure which deletes the values and then re-binds the datagrid. ...Show All
Visual C++ Wizard Migration to VS .NET
Is it possible to use a VC++ wizard, (*.awx) in VS .NET I got the wizard from an author of a book. If so, how Thanks, VF If you are talking about a Visual C++ 6.0 wizard, then the answer is no. The entire add in model changed between the 6.0 and 2002 versions. Ronald Laeremans VIsual C++ team ...Show All
.NET Development Problem with Datetime type in MS Access
When I want to find the records between a date range, there is a column 'Saledate' which type is Datetime, I always use below way to do that: Select * from Table1 where SaleDate >= #1/1/2001# and SaleDate <= #1/1/2002# It works fine in MS Access UI. But it doesn't work in my C# program. My program like: private System.Data.OleDb.OleDbCommand oleDbSelectCommand1; private System.Data.OleDb.OleDbCommand oleDbInsertComm ...Show All
Visual Basic A few questions
Hi, I'm making a video game for the latest visual basic software. So far I made a character creation thing with race/class/etc. I had a few questions - how would you get one variable (for example strength) and have one for the user, but also use that individually for other monsters. How do you modify the code on your program ( I had some errors because i had two forms have the same name on accident...) yeah im a noob but im sta ...Show All
Visual C++ VC++ 2005 Beta2, Mixed types not supported
I just switched from Beta1 to Beta2 and try to recompile the code I have written with Beta1. In a managed class I get a new error: error C4368: cannot define 'PrevMinX' as a member of managed 'MyNamespace::MyPlot': mixed types are not supported The error was given for the following class member: double PrevMinX[5]; Why do I get this error now -- Helge Hi, Definitley, you cannot have a native array of doubles ...Show All
Visual C# How to record audio...
Does anyone knows how can I record and reproduce(the recorded audio file) audio, from the microphone Thanks someone else was asking this question.. Your microphone will send data to your sound card.. so you will need to get data from sound card.. process it and save it.. My post in this article contains some links to articles that will help you to retrive data from sound card.. however i dont really know how to save as .wav or .m ...Show All
Visual Basic Sending email from MS Access 2002 application
Can some1 provide me with code and instructions how to send email from the app.Code in VB Thanx ...Show All
Smart Device Development 2.0 System.Format Exception on Updates with Email Address
I am trying to talk to a SQL Mobile DB, using the Data Wizards. I have dragged a table onto a fomr as both Datagrids and Textboxes, and the same error appears in both places. When I try to call the update, which in turn calls: Public Overloads Overridable Function Update( ByVal dataTable As taskDataSet.CompanyDataTable) As Integer Return Me .Adapter.Update(dataTable) End Function I get the exception. It ...Show All
SQL Server Is an output parm needed?
I have a simple stored proc with one input parm that gets first and last name based on an ID#. There will be a connection established to this database and sproc from a VB 2005 front end. Do I need output parms for the name fields Thanks. No you don't 'need' it you can just do select something like this create procedure procname @id int as set nocount on select lastname,firstname from TableName where id =@id set nocoun ...Show All
Visual C# How do I create a simple table in C#
Hey, Iam designing a inventory software, and I need to make a table that shows the item number, description and price of each item. Iam not using any databases, just want to store all the info in 1 file. Whats the best way I can do this in C# I am not sure about your definition of 'table' ... whether that be a HTML Table, DataTable ... etc. But I would suggest using XML for data storage. If you could give mor ...Show All
Visual Studio Express Editions Runtime Error On Delete / Free, only with "/MD" and outside the IDE
Hi, I appreciate any help with this issue. I have an application which runs fine both in debug and release mode, if I launch it within the IDE. The debug compiled .exe "/MDd" can also run fine outside the IDE. However, the release compiled .exe "/MD" gives a run time error: ************** Exception Text ************** System.AccessViolationException: Attempted to read or write protected memory. This is often an indic ...Show All
Visual Basic No Openforms Property in My.Application
I am working with VS 2005, VB on an XP machine. Application.OpenForms or Sstem.Windows.Forms.Application.OpenForms are OK But My.Application DOES NOT have an openforms property . Neither in Intellesense or when I enter it VS (Background compiler or compiler) Error 9 'openforms' is not a member of 'WindowsApplication1.My.MyApplication'. C:\Net20\ProjectsTest\WindowsApplication4\WindowsApplication4\Startup.vb 36 13 WindowsApplic ...Show All
Visual C# Help me to understand better the interfaces
Hi i read a bunch of articles on articles.. i know exactly how to amke them.. But i dont understand why should i use them .. or for what are they important.. Why should someone wanna make a interface for something... Please help!!! Hi! Interface used to implement behavior in any class without specific superclass. Few examples: IList. Any class that implement this interface can be treated like list. This can be .NET Framework ...Show All
Windows Forms Can I control Year selection from Datetime Picker
From the datetimepicker control I am able to select the date but not the time Can I select the time also from Datetime picker control Thanks Thanks My problem got solved. I had set the mindate and maxdate ...Show All
