learnerplates's Q&A profile
Windows Forms How to scroll into view in Splitcontainer for desired controls?
Some controls might be invisible because of size of application or position of splitter in Splitcontainer. How to bring controls in to viewable region of control runtime How will i know the control is in which panel (Panel1/Panel2) If we change the orientation of Splitcontainer control, will the layout of controls change in any application Is it possible Hello all, I have a simlarly related scrolling problem. What I have is an autosized DataGridView placed inside and AutoScrolled Panel. When the DataGridView height exceeds that of the panel a scroll bar appears allowing me to scroll the DataGridView. This is all good. But now if I where to scroll the scroll bar a bit down and then click on a cell in the D ...Show All
SQL Server Another Mysterious issue in SQL 2005 & SSIS
Explain this: Package runs successfully from BIDS It runs successfully in SSIS store It runs successfully when I manually execute the Job JOB FAILS EVERY FREAKING NIGHT The management of SSIS is quite non-intuitive in my opinion, there are loads of posts about job failures. They usually have to do with encrypting sensitive information using a user key or the account used to run the job not having sufficient access. You should, however, have dtexec on the server somewhere. Did you do a file search for it ...Show All
Smart Device Development Execution on Emulator and Real Device, and local storage
*greetings* 1) i am confused over the behavior of the execution on the emulator and real device. i encountered 2 situations as below : i) In the emulator ,the tab button switches well, but it couldn't switch to the intended page when executing in real device, it couldn't display the intended page. ii) In the emulator a connection to Sql server 2000 to retrieve information failed and showed the error that the sql server does not exist, but in real device i can retrieve the information from database 2) Is the ability of debugging supported in .net cf because the only way for me to execute my application is using ctrl + F5. Other than that, nothing else works. Can anybody suggest to me alternative ways, so that i can debug 3) if i am not ...Show All
SQL Server SQL query problem....newbie question
So, I have never worked with SQL in my entire life, but have some basic programming skills. I was given a job to run through two tables, sort some of the information and return the two most recent enteries for the job number. I can sort everything but I am having a hard time just returning the two most recent enteries. I have two tables in which to look from and I think a subquery WHERE with the TOP would work.... yet I have tried everything i can think of and after a good 10 hours of research, im hoping to get some help! The two most recent enteries that i need returned is "start date" with all the other information... Here is my code that is from designer (which i have played with to no avail) SELECT Table1.[Inquiry # ...Show All
SQL Server Remote connection to database on same PC?
I am running the SQL express advanced on the same PC that also hosts my Visual Basic Express application. I have user instances turned off and full-text enabled and working from within a SQL query window. However, I can not create a working connection to the database using the data source wizard from the server explorer within VB.NET. Since this is on the same PC, do I need to enable anything other than shared memory I get the error: Provider SQL Network Interfaces, error 26 Error locating server/instance. DeBug Hi, when you say you turned user instances off, do you mean that you installed the default instance and not a named instance What Data source, Servername and log on type did you choose ...Show All
Visual Studio Team System Repro steps for: Context menu for work item returns "Index was outside the bounds" error
Hi, In one of my team project, the "Add Work Item" menu item is giving me an error; it expands to " Error loading menu: Index was outside the bounds of the array " instead to a list of work item types. Anybody have any idea what might be causing this error Or where to get more information on this error Here are some additional information that might be useful: It is only happening in this one team project. Other team project are working properly This team project had been deleted and "recreated" (i.e. create with same project name). The original team project was using the MSF Agile template and the new one uses the MSF CMMI template. Nobody else in this team project is having this problem ...Show All
SQL Server URGENT: symmetric key error
Is there a quick utility that will allow me to fix this error I just let my computer be auto updated and it bombed my report manager. This is the link from the error... http://www.microsoft.com/products/ee/transform.aspx EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsReportServerDisabled&ProdName=Microsoft+SQL+Server+Reporting+Services&ProdVer=8.00 I tried using the disk to modify but it didn't work. I forgot to mention that I am working with SQL2000, VS.net 2003 and Microsoft SQL Server Reporting Services Version 8.00.1038.00 ...Show All
.NET Development VB 2005 Colletions Issue
HI Im inheriting from a System.Colletions.CollectionBase as a base class for my collection, and would like to use a string key to itemise each element I put into my collection, but you cant supply a key when adding elements to the CollectionBase collection, any assistance or other suggestions would be much appreciated. Thank You If you are working in .Net 2.0 then why dont you use Generic Collection class (Dictionary) It lets you add a Key, and a Value in it! I hope this is better than creating your own! Best Regards, ...Show All
Visual Studio Express Editions Adding numbers in textboxes together
I have 5 textboxes on my form. When the user presses 'Enter" (Total_Enter event ) I want my program to add the textboxes together, sometimes only 1 or 2 of the boxes will have data entered in them - how can I code it so that it checks the 1st textbox to see if there is anything there if so it adds, if not it moves on to check the next textbox etc. I think I will have to use an If/Else statement something like: If Textbox1.Text=True Then Totalstextbox.Text=Str(Val(TotalsTextbox.text+Textbox1.text) Else If Textbox.Text="" Then This is where I get stuck - Im not really sure if the above is quite correct or if im doing this completely wrong, Any help really appreciated ...Show All
SQL Server SSIS Performance 32 Bit V 64 Bit
I have been working on a project last few months. I have developed the project on my laptop, which is resonably powerful. It runs through fine within 9 mins with sample data set. If I replicate the same environment on a 64 Bit machine with 32 Bit Win 2003 and SP1, it takes just over 7 mins. If I rerun it on a 64 Bit machine with 64 Bit Win 2003, it takes between 21 and 24 mins. We are executing the packages via dtexec on a command prompt. Has anyone seen same behaviour Thanks Sutha yes! I am seeing the same thing - thousands of processes not being released under 64 bit SSIS and the pkg slows to a crawl and excutes way slower than on 32 bit. Please! whats the hot fix ...Show All
Visual Studio Express Editions bug?
os:winXP home edtion language:simplified chinese when I open my project builded yesterday,rebuild it ,find an error occured:fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: 系 找不到指定的路 (The system can't find the directory properly)。confused!!! definitly it worked very well yesterday,when I double clicked the the message,find it can't find "stdafx.h",but it do worked well yesterday,why after one day it cound't be compiled (This error happened second time since I install vc2005 express edition). JinMengCheng, I just remembered that a while ago I moved the whole project dir (including stdafx.h) Putting it back in the original place 'fixed' the problem. Although I can't find any reference t ...Show All
.NET Development Can I open an Access database from vb .net if the mdb file is opened.
if I try to use the following connectstring "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\cse1\src\test.mdb;Mode=Share Deny None;User Id=admin;Password=;" I get the following error "The Microsoft Jet database engine cannot open the file 'test.mdb'. It is already opened exclusively by another user, or you need permission to view its data." I was assuming that mode-Share Deny None would open the database in read-only mode, since I have to just display data and not do any updates. thanks. Did you add a reference to Microsoft Access 11.0 object library I'm trying to do the same thing as you. Currently i'm running into securityerrors. ...Show All
Windows Forms Mouse scroll event
Hi I need to stop the mouse scroll event in a combo box in a form because for each selected index change i need to send a request to a web service which would become costly if the user scrolls as it would send n number of requests to the service. Please let me know the event which is fired when the mouse is scrolled. Thanks and Regards, Karthick. Try subclassing the combo box: public class NoScrollComboBox : ComboBox { protected override void WndProc(ref Message m) { const int WM_MOUSEWHEEL = 0x20A; & ...Show All
Visual FoxPro How to calculate the data connection time?
I tried to add 2 fields, time_on, datetime, time_off, datetime to calculate user's log on time in the Users.dbf. How do I calculate the total time between the 2 value Any better way to capture users' activity You may create a clock like: http://support.microsoft.com/kb/139390 and start it when user log on ... ...Show All
Smart Device Development Application does not appear in Task Manager
Hello I noticed that my SmartPhone application does not show up in the task manager. Does it have to be registered somehow Also I would like to learn how to disable back and home buttons on the device while my app is runing. Many thanks, Martin Malek Hi Ilya Could you point me to an example that uses the singleton code Back to my initial question. As I mentioned previously my window gets a caption but still does not show up in task manager. Do I need to activate my window somehow and if so how is that done Many thanks, Martin Malek ...Show All
