crash33's Q&A profile
Visual Basic Passing an array of integer from vb.net into excel
hi friends, Please help me passing an array of integer or string from vb.net in to excel.Suggest me a particular function. explain me if "resize" function is used for this. thanks regards Abhishek hi spotty, I have found the following way of Passing an array of integer into excel. objsh2.Cells(row, col).resize(row, col).value = ArrayNameOnly ...Show All
Visual C++ datagridview refresh problem
Was hoping someone could help with a refresh problem. I'm running a function to update the colours for the rows on the DataGridView in a tabbed pane based on some value from the dataSource of the DataGridView. However the DataGridView will not refresh the first time round. If I move to another tabbed pane and come back then the DataGridView is properly refreshed. What I think the problem might be is that the dataGridView has a few eventhandlers when a user changes the values. So what I did was to call the EndEdit before I refreshed, which didn't work. I've even refreshed the parent of the DataGridView which didn't work as well. Can anyone offer some suggestions as to what might be wrong Thanks. ...Show All
Windows Live Developer Forums Different online profiles?
I really want to see this feature: e.g. you have a "work profile", so only the ppl in your work group can see that you are online, and when u get home, it automaticly turn on the "home profile". so only the ppl on your buddy list can see you online. You will be able to swith between normal/home/work e.g. Will this become a feature soon, or will we have to wait several years. because ALOT of people would benefit from this feature!! Not to presume what Microsoft's intentions are, but at work we use Office Communicator which is a "work" version of MSN/Windows Live Messenger that works with MS Exchange. I would think that the intention is that you use that for work, and msn/live ...Show All
.NET Development This is an unexpected token. The expected token is 'SEMICOLON' while Loading xml file which is read from share point
Hi Everybody, I am reading xml file from share point which is uploaded already. For reading I used SPFile.Openbinary()..... the problem is after reading the xml file from share point, i tried to load the xml file in to XMLDocument object xmlDoc.LoadXml(gxmlContent); But ist is throwing an exception "This is an unexpected token. The expected token is 'SEMICOLON'". exception thrown because that xml file contains Special character &.... I uploaded the following part of xml to share point... <PartDescription title="SKIL: And Then There Was One…A Great Consolidation Play in a Growing Market at 12x Pro-Forma EPS. Initiating Coverage With a Buy Rating and $10 Price Target." ...Show All
Visual Studio Express Editions How to Get a File from a webpage?
Hello, I am trying to find out how to get a file (word, excel, etc.) from a webpage. I am using Visual Basic Express 2005. Would I use webrequest, get or some other command. I understand how to get a webpage, but not how to get a file that resides on a webpage. Thank you for any help you can offer. Try my .Computer.Network.DownloadFile passing in the source URI and destination path. Jim Wooley http://devauthority.com/blogs/jwooley ...Show All
Visual C++ How to read the Link Error message?
Hello all: I find it is quite hard to understand the Link Error(I use VS. Net 2005 Professional). If I include the following operator member function in the file "Triangle.cpp" rather than in the file "Triangle.h". inline bool Triangle::operator==(const Triangle &rhs) const { return (_length == rhs._length) && (_begin_pos == rhs._begin_pos); } Then call it by using the following statements: Triangle t4(1, 2); // initialize _length as 1 and _begin_pos as 2 Triangle t5(1, 2); if (t4 == t5) cout << "equal " << endl; else cout << "not equal " << endl; I will get the following build errors: ------ Build started: Project: TestOne, Configuration: Debug W ...Show All
Visual C# There is no row at position 447: Cannot fill in a DataTable
I have a DataTable which is filled with rows from a data stream. I Add a row each time a new complete set of field values becomes available. There are 6 fields in rows: three float, one int, one DateTime and one string (rather short, about 4 bytes). After I streamlined my code to eliminate massive losses of data now the process is working fast. All of a sudden I get an error message: There is no row at position 468. I put a Console.WriteLine statement in the routine which handles filling the rows (individually, one by one). Row 469 was created and then the message appeared. In fact when I repeat the runs it breaks down at slighly different rows at each run. Also I have a button which I press. It creates a socket, send a request ...Show All
Visual Basic Error: Value of type 'WndProcCallBack' cannot be converted to 'Integer'.
I get the following error for the parameter myDelegate in the SetWindowLong function: What am I missing Lots thx. -greg Error: Value of type 'MainForm.MessageHandler.WndProcCallBack' cannot be converted to 'Integer'. Friend Class MainForm Dim myDelegate As New WndProcCallBack ( AddressOf WndProc ) defWindowProc = SetWindowLong( Me .Handle.ToInt32, GWL_WNDPROC, myDelegate ) End Class Module MessageHandler Public Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" ( ByVal hwnd As Integer , ByVal nIndex As Integer , ByVal dwNewLong As Integer ) As Integer Public Delegate Sub WndProcCallBack ( ByRef m As S ...Show All
Visual Basic Create a class that disables specific controls
Hi guys, I am considering creating a class that disables certain controls on my form when it loads. Opposed to setting each 'enabled' property to false, i think a class that executes when the form does, is the most efficient. Am i right, is this efficient If so, how exactly would i go about coding it Many thanks in anticipation for your help. Kyle Well it depends upon what your overall objective is...If it is to just disable controls on load of a form then you can do that in the designer or you can do it in the load event of the form. kitsch wrote: Opposed to setting each 'enabled' property to false What method would your class use to disable the controls ...Show All
SQL Server Report Subscriptions <-> Scheduled Reports
This question is in regards to using the ReportingServices2005 WebService classes with C# .net 2.0. What I am having trouble with is how to relate a schedule to a subscription. The piece of functionality that I am trying to duplicate is adding a report's subscription to a schedule (on the Subscription:{report_name} page's subscription processing options under the asp.net "Reports" app). How can I programmatically set a report's subscription's "subscription processing options" to use one of my existing Schedules Some things I have tried: - use ListSchedules to get a list of reports, use ListScheduledReport(scheduleId) to get a list of reports related to a schedule (this is great, it gets me the reports, but I ...Show All
Windows Forms MDI Parent within MDI Parent in Winform application
Hi, I am migrating an application from MFC to Windows .NET application using Winforms & C#. In the old MFC appliation, we have the main application window as MDI parent which can contain multiple MDI parent forms (which in turn contain multiple child forms). Is there a way I can have similar structure in .NET (multiple MDI parents of same type within one MDI parent of another type Thanks in advance... Hrishikesh When using AddOwnedForm, it won't add the child in the MDIChildren collection but will add in the OwnedForms collection. As correctly pointed out by you, I am facing the 2 problems that you mentioned. I have managed to implement the meu strip myself. I still haven't found ...Show All
Visual Basic Trapping window events
Iam using windows xp.Is there any method such that when a user clicks internet explorer my vb program should fire Much briefly....when internet explorer starts running my vb program should start working.any ideas ...Show All
Visual Studio 2008 (Pre-release) What is the status of Windows Presentation Foundation Everywhere (WPF/E)?
Hi, I'm interested in Windows Presentation Foundation Everywhere (WPF/E) as a possible alternative to Adobe Flex development. All the information and blogs that I can find are from back in March to May, e.g. http://blogs.msdn.com/mharsh/ Has anything happened since then What tools do I need to develop in WPF/E Where do I get the browser plug-ins (miniturized CLR for IE, Firefox, and Mac) Thanks, Mark LOL, my feelings exactly. I keep checking Mike's blog to see if there is anything new past May and had started to wonder if He had won the lottery and found better things to do :) In fact, I got to this thread by doing a google search on his name to see if there was possibly somewhere else tha ...Show All
Windows Search Technologies Ol desktop search options in control panel
I just opened the control panel, saw a desktop search item and opened it. To my surprise it is from the OLD (2.6.5) version. Looks like somehting went wrong with the uninstall. Where is the cpl file located so I can remove it ...Show All
Visual FoxPro Where can I get CodeMine 7.1 or later
Hello all, I am looking for CodeMine 7.1 or later. Where Can I get it Is it free Or can I get for free That is not a technical question. Go to CodeMine directly for sales info. http://www.codemine.com/ click on the Ordering Information link. ...Show All
