objKiran's Q&A profile
Visual Basic Updating Multiple Related Tables in a Database
Hello. I am new to the VB 2005 arena, and apologise if I am asking a stupid question. But I am really stuck on one thing. I have many tables in my database all of which are related to each other in one way or the other. All the relationships are one-to-many. I am using MS Access 2003 and the database format is Access 2000. The problem is that whenever I try to update a parent table it says that a child table contains related records so I cannot change or delete any records. And I am not able to update any tables. I tried this link from the microsoft website for help : http://whidbey.msdn.microsoft.com/library/default.asp url=/libr ...Show All
.NET Development sql question
Ok i have a really big file like 2 Gb.. and i want to insert it into database.. but i want to send chunks of data.. like 10 Mb and my Database has a column Data type image is there a possible way to add to that column i mean i put 10 Mb then add to those 10 Mb another 10 MB Try using the Offset property of the SqlParameter class: "The Offset property is used for client-side chunking of binary and string data. For example, in order to insert 10MB of text into a column on a server, a user might execute 10 parameterized inserts of 1MB chunks, shifting the value of Offset on each iteration by 1MB." http://msdn2.microsoft. ...Show All
SQL Server Is there any way to relocate the data and log folders?
Is there anyway to move the data and log folders to another drive without having to reinstall SQL 2005. I have limited space available on the drive where the program files are installed and need to move these folders to another drive with adequate space for growth. Thanks So, it would be nice if you could track it with "solved" in the group system. Cheers, jens. ...Show All
Visual Studio 2008 (Pre-release) Sum in Query Expression
Is it possible to do the following using query expression syntax: decimal total = customers .SelectMany(c => c.Orders) .Sum(o => o.Total); Or can this only be done presently with the extension methods Not every Standard Query Operator is currently represented by a Query Expression analog. But since Query Expressions all return IEnumerable<T>, and since Standard Query Operators are extension methods that operate on IEnumerable<T>, .Sum() can be invoked on the result of a Query Expression: (some_query_expression).Sum() -Scott ...Show All
Visual Basic How to display an alert message in VB.NET
I am developing an IT Asset Tracking System using VB 2005 Professional. One of the fields I have is a Warranty Start and Warranty Expiry date. I would like to be able to display some kind of informational alert to indicate that a particular asset's warranty has expired or is about to expire in 7 days. How do I go about implementing something like this and where is the best place to display this. Regards Dipendra Let's assume that you have a list of the data sorted by expiration date, which you are keeping updated. (This could be a separate list of existing objects that you are inserting into, or ma ...Show All
Windows Forms NET Application Updater Component
I'm trying to use the NET Application Updater Component. It works for the most part until I try to open a form with an image control on it. I get an error "Unable to auto-download the missing parts of the application from..." I have removed the image control form the form and I can open it fine. I also removed all the&n ...Show All
Visual C++ compilation error
i am trying to write a program with an array and when i try to compile it it gives me an error message that reads : "Cannot compile the file 'f:\AgeGroups', no compile tool is associated with the file extension". however, it will build. please help, im so new at this. ...Show All
Visual Studio Express Editions Tab Control _click Doesn't
Ok I give... The tabcontrol_click event. As I read the 'help' file If there is at least one TabPage in the collection, and the user interacts with the tab control's header (where the TabPage names appear), the TabControl raises the appropriate event. However, if the user interaction is within the ClientRectangle of the tab page, the TabPage raises the appropriate event. Just how does one get the tabcontrol to raise it's events Clicking the clientrectangle will raise the event 'TabODTurn_Click' 'myname for this control'.. but clicking on any of the 'Tabs' does not raise any events..... I do have three tabpages in the tab control at ...Show All
Visual Studio Step over (F10) responds slowly
Hi, I have start using VS 2005 this week and i notice that when i am using the step over while debuging it is response very slowly compered to VS -6. I notice that the call stack and Autos windows also addes to the poor performance, and each step the auto windows refresh. 10xs alon Please take a look at our debugger FAQ at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=919407&SiteID=1 . There are some steps you can take to help us determine what the problem might be. Because this thread is so old, I'm going to mark it as answered. Please feel free to reactivate with further details. ...Show All
Software Development for Windows Vista Compilation failed for Travel Demo
On compiling the Travel Application Demo , which I had downloaded from http://www.windowsworkflow.net/default.aspx tabindex=4&tabid=49 , the following error appears: Error 1 Compilation failed. Value cannot be null. Parameter name: name C:\Trav\TravelApplication 0 0 By double clicking this error a message box appears having the following message: Cannot open File 'C:\Trav\TravelApplication'. Verify that the file still exists and then try again. Has anyone encountered the same error, or could anyone help me to run this application. Thanks, When you open the solution file, do you see ...Show All
.NET Development POS for .NET 2.0 ?
Is this in development Since I upgraded to VS2005 POS.net 1.1 stopped working with my Epson receipt printer. Is there any news on when/if it will be available, I'm pretty desperate to get my POS project working on VS2005. Try contacting the vendor for support. Perhaps this one ...Show All
Visual Studio VS 2005 Installation Error
I downloaded the isos for VS 2005 Pro from MSDN. I burned them all to cds. When I install VS, everything starts fine. When I insert disc 2, I get this message. "Error 1335.The cabinet file '_15780_RTL_x86_enu_v2.0.cab' required for this installation is corrupt and cannot be used." I have tried installing it at least 5-6 times. I tried copying all the files to my HD and installing from there, but when I try to run Setup.exe, I get the Error: E:/Setup.exe cannot be found. E:\ is my main cd drive. Any ideas on what I can do Thanks in advance Eric ...Show All
Visual Studio Extra Page while exporting to PDF from Crystal Reprot
Hi, I generated a Crystal report in VB.Net using Crystal report version 9. The report displays correctly. I could export as word document without any issue. But while i export to pdf, i am getting extra 1 page for each page in report. i.e i am getting totally 2 page for each 1 page in report. But in that pdf, first page contains the report details and the second page contains a only '|' symbol. Kindly any one can provide me the solution Thanks in Advance R.Vasanth Yes. There must be field may fall out of the margin. Unfortunately one/few field may fall out of margin which is not in your visible. ...Show All
Visual C++ Importing enum under C++/CLI
I am trying my first attempts with C++/CLI but I have a minor problem. I am building a wrapper usable by all .NET languages which is importing unmanaged C/C++ code and is linking with a custom library file. I am creating a ref class as: public ref class CMyTest { public: int Init() { ...call old style function } } This function returns an integer. This integer is encoded as a old style typedef'd enum: typedef enum _errors { .. } Errors; I would like the client code to look like this: CMyTest ^test = gcnew CMyTest; if (test->Init() != CMyTest.EnumError) ... Is there any way to get this old style enum to become a type inside my wrapp ...Show All
Windows Forms add an empty line to combobox?
hello, I have two questions. 1) When using Databinding with combobox, the application shows the first record automattically inside the combobox. I want it to show nothing until the user selects drop down tab. When user selects drop down they should be able to see the available choices. How do i do this 2) I have another combobox that I don't want to populate until the selection is made in the first combobox. so how do i keep the combobox2 visible and unpopulated until the selection is made in first combobox (Making a selection in first combobox gives me a value that i use for filtering purpose for second combobox) I am very new to C ...Show All
