nag_ravi's Q&A profile
Visual Basic User Control not updating
I have a control that I created in VB .net 2003. It works fine for the most part in 03. I went to upgrade it today to 2005. The upgrade seems to have gone fine. I have attached a test app to the control for testing purposes. But since moving to VS 2005 when I make a change in the control and build the solution the change is not made in the test app. I've tried deleting the control and putting it back on, and even shutting down VS and starting back up. That works 1 out of 10 times. What could be going wrong Thanks Okay. I probably think this is by design and no ...Show All
Visual J# too many images = greater load time
ok, ive got a good... 96 images on a form with scrollbars, as your scrolling left and right, it takes a while for the images to reload, is there a way to speed up the load Store the images inside your class, and then draw them in your OnPaint handler. You'd want to store them in a container of some sort, probably a Dictionary and come up with some way of looking up the images you need to draw, which you probably want to store in a struct with the place you want to draw them. ...Show All
.NET Development Error: SQL Server does not exist or access denied
I am a newbie so any help appreciated. the ASP.NET web application is on a seperate machine than the machine that runs the SQL Server. There are 3 SQL Servers running on machine that has my database. The 3 SQL Servers are: SQLM1\DevSQL SQLM1\DemoSQL SQLM1\QASQL where SQLM1 is the machine name & QASQL is the name of the SQL Server. The database that this application connects to is in SQLM1\QASQL. In the default.apx.vb, I have a connection string as follows: Me.SqlConnection1.ConnectionString = "data source=SQLM1\QASQL;inital catalog = MyDB; password=somepass;persist sec urity info=True;user id=sa;packet size=4096" But get t ...Show All
SQL Server Need VB.NET "Custom Components" source code example
I need VB.NET source code showing how to create a Custom Component. in SSIS (All the ones I've seen are written in C#.) TIA, barkingdog The programming samples that ship with SQL Server include VB.Net and c# versions. See http://msdn2.microsoft.com/en-us/library/ms135984(sql.90).aspx for more details. Note that samples are installed optionally - if you did not select them on install you will need to do so. Donald ...Show All
Visual Basic Collapsed states
Hi - Could someone please remind me how to switch on the horizontal line between procedures, functions etc (VS 2003) Thanks. Also, while I'm on the line (ha), is there an option for Saving that retains the 'collapsed' state of procedures etc Mine all come back as uncollapsed when I start up the project again in the morning. Thanks, I'm cancelling this thread, as I've restarted it with a more appropriate title. ...Show All
SQL Server Couldn't make Filter Option of Report to work
I am trying to figure out how to create report using dynamic parameter and filter from dropdown. I saw a webcast that allow to drag and drop the filter functionality in the dataset and generate report. I have the SQL Server Beta 2 and VS 2005 Beta installed in my machine. But I didn't see any option in data design that allow me to do the filtering. I can add report parameter but was unable to bind the parameter value to filter expression. I am really confuse and any help will be appreciated. Just install the relational database samples for AdventureWorks. There are several examples of dynamic parameters. For ...Show All
Visual Studio Express Editions ws2_32.lib fatal error LNK1136: invalid or corrupt file
I hate to ask such a basic quesion. Does anybody know where I could get a fresh copy of ws2_32.lib I've spent about 5 hours searching for this file now. I really appriciate any help. Thanks in advance, Josh P. Josh Pendergrass wrote: Does anybody know where I could get a fresh copy of ws2_32.lib The file is in the Platform SDK /lib directory. You can obtain a copy of the latest PSDK, "Platform SDK for Windows Server 2003 R2" as a CD-ROM image . You can also perform a Web Download of the PSDK, although I don't recommend that. I find that I always wa ...Show All
Visual Studio Express Editions here is what i am tyring to do..........
i would like to create an application that runs in the background (doesnt have to but that is preferred) that causes my x and y axis on my mose to drift down and to the left while pressinf the left mouse button Check out the API routine SetCursorPos Private Declare Function SetCursorPos Lib "user32.dll" (ByVal x As Integer, ByVal y As integer As Integer Also if this is to work off form, check out getasynchkeystate Private Declare Function GetAsyncKeyState Lib "user32.dll" (ByVal vKey As integer) As Integer The last integer may need to be a short. I'm not sure. These ...Show All
Visual C++ Problem seeing my window
I just got Visual Studio 2005 and I tried to make a program using Win32. The program is just displaying a window. When I compile the code I get no errors at all, but nothing happens after that. My window doesn't pop up. I made sure that I had the functions: ShowWindow() and UpdateWindow, but apparently that wasn't the problem. Please help. When I use _T("Windows Class") or whatever, I get this error message: error C3861: '_T': identifier not found ...Show All
SQL Server Wishlist: MOST WANTED Tasks, Sources, Transformations, and Destinations?
Until there's an Integration Services 2.0, what custom components would you most like to see examples of The documentation team is starting work on the 2nd Web refresh of Books Online and SQL Server samples, anticipated for release around April, and may be able to incorporate some requests as samples or BOL topics. I scanned Kirk's "Requests" thread and, although many requests are for tweaks to existing SSIS widgets, I noted the following. Which ones, or which others, would provide the most value to the most users I don't have the authority to make this "sticky," so get your votes in before I disappear off the bottom of the page! Tas ...Show All
Windows Forms Scrollbars and Custom Border Painting
I've customized a panel to draw a custom border utilizing WndProc but I have a problem when the scrollbars are displayed, take a look at the lower right portion of my border. I have attached a snapshot of the problematic control and a .NET panel equivalent. I think the corner box is misplaced and not painted on the correct intersection of the two&nbs ...Show All
Smart Device Development Detecting a network in C# .NET
What method is recommended to detect a network (either via cradle/wifi etc). Thanks, Jeff. Readers of this thread might also appreciate knowing about this component. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/NetworkComponent.asp ...Show All
SQL Server creating a server instance on SQL server 2005 enterprise
I got sql 2000 installed on my machine. I got a sql 2000 database instance on my computer and I installed sql 2005 server enterprise but I have got no server instance from sql 2005 like what i have in sql 2000 when i first install, i can have an own server instance on my computer. is it becos when i have a previous sql 2000 server instance on my computer i install the adventureworks database....in my sql 2005 this article is helpful. http://msdn2.microsoft.com/en-us/library/ms143804.aspx ...Show All
Windows Forms Altering and/or dropping Wizard-Created binding sources
1 - I used the addNew datasource wizard to add a source. It created a binding navigator, tableadapter, etc. It also created a new connection string (connectionString1) because of my oversight. 2 - Since connectionString1 was identical to connectionString1, I opened the settings and deleted the second one. 3 - I have searched the entire project (including all hidden files) for references to connectionString1 and find NONE - but - when I open the project, the IDE complains that it cannot find connectionString1 and will not allow the wizard to reopen to change the setting on the tableAdapter. Where are these settings stored They are obviously n ...Show All
Windows Forms Not Able to Update the Dataset from the Datagridview
Hi All, I ve a problem in updating the datagridview's datasource.Since i m adding an extra column in the dataset as follows : dsQues= ( DataSet )objCDatadomainLogic.fnBrowse(strProcessID); dsQues.Tables[0].Columns.Add( "sAnswers" ); After the column creation ,I m dynamically adding some values in the datagridview but while calling the value w.r.t the column i created. But it throws an Error sAnswers not found even though i wrote the following code dgdvwQuesnAns.Update(); dsQues.Tables[0].AcceptChanges(); pls. help me out bye ...Show All
