Whoisit's Q&A profile
.NET Development uploading documents to Sharepoint Service with imaging webservice
I hope i am in the right forum but I could not find anything which related to my request. I am currently looking for a way to upload documents (PDF,JPG) to an existing Sharepoint Services 2.0 installation. I have created my site and document folder but my .NET program throws an error when I try to execute it: System.Web.Services.Protocols.SoapException was unhandled Actor="" Lang="" Message="Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was thrown." Node="" Role="" Source="System.Web.Services" StackTrace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, ...Show All
Visual Studio Express Editions DataBinding Issue
I am running into a problem when I try to bind the name of a datatable item to the ID of that item. I select my combobox then I bind the DataSource, I select the DisplayMember, then I set the ValueMember. After that I try to debug my project, here is where the problem starts. I can see the names of the items but when I select and item name the debug freezes up. I do not get and error msg it just freezes up. I have to cancel the debug to close. Now if I goback into the project and remove the databind the project debuggs perfectly. Whats going on And how can I fix this issue. you shouldnt need to set the valuemember at all really, well, depending on what you are doing. Do you have something that happens during the selectedInde ...Show All
Windows Forms How to get list of Processes and their file name/path? - Experts respond plz
Hi All, I've spent two days on google trying to find a suitable solution for getting the full path of the running process but invain.My question is very simple I want to know the full path of the running excel instances. for example if I've 2 instances of excel running currently, I need to know the full path name including drives and directories.I can get the base exe file but not the full path i.e., I can easily get the C:\Program Files\Microsoft Office\OFFICE11\excel.exe path but not some thing like "c:\rama\xyz.xls" through either vb6 or .NET solution. Is there anyway to get the full qualified path from the list of running process I used the following function but it only gives filetitle but not the full pa ...Show All
Visual C# Mouse Wheel Won't Scroll
I have a Microsoft Comfort Optical Mouse 3000 which works great with every application except Visual Studio 2005. I have to spin the mouse wheel at a very high rate to get any scrolling at all in VS2005. I have the latest Vista drivers installed. There are some known issues with the Microsoft Comfort Optical Mouse 3000 in Windows Vista, an unofficial workaround you can try is the following: Install the Vista IntelliPoint software: http://www.microsoft.com/hardware/windowsvista/support/intellipoint.mspx or Click on the Start Button Start typing Device Manager Open Device Manager Disable the HID Compliant Consumer Control Device ...Show All
.NET Development find .net version
hello, Is there some way to find out what version of .NET is installed I've seen spots where people just cycle thru the three versions (1.0, 1.1, 2.0) to check, but I would like something where you don't know the number, so that it could work just as well for 4.0 as it does for 2.0. I'd like to be able to do this in Visual Basic. Thanks for any help. I'm aware each one has its own version, that's why I was hoping to get the most recent version of .NET that is installed. I'm currently telling it to call the 2.0 caspol, but I would like my script ot be more dynamic, for when 3.0 comes out, as an example. ...Show All
Visual Studio Express Editions Example of tabbed webbrowsing
Hello, as I have seen a lot new threads about the webbrowser, I thought: "Why don't try it myself " :p So I tried, and I just made myself a working tabbed browser :o I put the source and working example online so you people can have a look how everything works.. Here is the link Please post any questions/suggestions/bugs (I know there are a lot of 'em) here :) Grtz, Tom. Hi Renee, thanks for noticing Here is the new link grtz, Tom. ...Show All
Smart Device Development file browser for Smartphones
i want to use a open file dialog in my smartphone application, can somebody temme how can i do tht as the normal GetOpenFileName func is not working for Smartphones. GetOpenFileNameEx is implemented in WM5.0 Smartphones. There is also a third-party GetOpenFileName implementation here:- http://www.tillanosoft.com/ce/tgetfile.html Peter ...Show All
Visual Studio 2008 (Pre-release) About Window.AllowsTransparency......
I have a Non_Rectangle window. I got it by setting the property: Window.AllowsTransparency(=true). In that window, i put a Windows.Forms.PictureBox for video playback. (By using a WindowsFormsHost control) I cann't show the PictureBox when the AllowsTransparency is "True". When i set it to "False", it works. How can i solve this problem And is there other ways for creating Non_Rectangle windows Read Sott's blog, and you will know the answer. Gotchas For Working With Windows Forms/WPF Interop Sheva ...Show All
Visual Studio Team System How do I set a workspace programatically?
Hi, if I have a workspace I can get a workspace by name. I also know how to create a workspace from the command line. But how do I set programatically a workspace Any help is greatly appreciated Xavier You might start here: http://blogs.msdn.com/buckh/archive/2006/08/12/tfs_api_links.aspx Virtually every version control example has to create or grab an existing workspace object. The official documentation for CreateWorkspace is here: http://msdn2.microsoft.com/en-us/library/microsoft.teamfoundation.versioncontrol.client.versioncontrolserver.createworkspace(VS.80).aspx ...Show All
Windows Forms copying the datagridview control from one form to another
I have a datagrid view control which I have set up for use on one form. I want to use the control in exactly the same way on another form. I thought I would be able to copy and paste the control from one form to another but when I try and do this all my columns disappear and I am left with what looks like a blank control. Is this correct Am I doing something wrong Regards, Gareth It's actually bound to a class but I am getting some odd behaviour. If I open the datgridview task section by clicking on the small arrow on the datagrid control and then click on the combobox arrow for the choose data source option c# design environment crashes. ...Show All
SQL Server reseeding temporary tables or table data types with identity column
Hi, I have a indexing problem. I have a sequence that needs to has a index number. I want to use a table data type and have a working sample BUT I cannot reseed the table when needed. How do I do this. This works only for the first ExitCoilID then I need to RESEED. Here is my code: DECLARE @EntryCoilCnt AS INT , @ExitCoilID AS INT , @SubtractedFromEntyCoilCnt AS INT DECLARE @ExitCoilID_NotProcessed TABLE ( ExitCoilID int ) INSERT INTO @ExitCoilID_NotProcessed SELECT DISTINCT ExitCoilID FROM dbo . TrendEXIT where ExitCoilID is not null and ExitCnt is null order by ExitCoilID DECLARE @ExitCoilID_Cnt_Index TABLE ( E ...Show All
Windows Forms Events and Delegates in Forms
I have a main form and a child form which I communicate through public methods. For example: frmMain ... frmChild frm = new frmChild(); ... frm.MoveNext(); The child window will obviously have a public method MoveNext. frmChild also implements an Interface class. What I now want to do is when data in the child window is saved to communicate this back to the parent, but I want to use an event. I can get events working and hooked-up in classes but I can't get them to work between forms, except when I am hooking up to form events like: parentForm.FormClosed += new Forms.FormClosedEventHandler(ParentForm_FormClosed); I want to do the above but with my own event in the parent called DataSaved. How can I do this ...Show All
Visual Studio Express Editions data query
hi all im trying to find out how to pass a value to a query to use as part of the search something alomg the lines of WHERE (Customer_lastname LIKE textbox1.text & '%') the value im trying to pass is from the textbox any ideas would be apreaciated hi thanks both of you for your help but as im quite new to vb im having some small problems first if i just copy your example i get an error saying i havent defined myparaemeter However from the link i managed to write this but it doesent seam to be working thanks again Dim mySelectQuery As String = "SELECT Customer_lastname, FROM customers WHERE (Customer_lastname LIKE TextBox1.Text & 'a%')" Dim myConnection As New SqlClient.S ...Show All
SQL Server Access project connecting to SQL 2005
Most of our users are using MS Access project to work with our data in SQL Server 2005. The problem we have is that in order for them to access the tables they need to be given db_datareader and db_datawriter permission on the database. Our goal is not to give access to the tables themselves but to views. Therefore, we've created several views and placed them into a particular schema. Now we want to give access to that schema, but when we assign select, delete, insert, and update to that schema user in ms access project aren't able to view these tables. When we give them db_datareader permission they are able to see the views but in parentencies does not show the correct schema; therefore, when you try to open that view it errors out sayin ...Show All
Visual Studio Can not edit source code while debugging and 'Edit and Continue' enabled
I am using visual studio 2005 professional and I have enabled edit and continue but while debugging I can not edit the file. I insert a breakpoint on a line, it breaks and the execution is paused, but I can not edit the file. The title bar indicates the source code is in read only mode which stops me from editing the file. I assume there is another setting somewhere to turn off making files read only during program execution. Where is this setting Thanks in advance Found the issue. I had done a publish and that changed the Solution Configuration from 'Debug' to 'Release'. When I manually changed the Solution Configuration back to 'Debug' I was able to edit the code while in a break point. ...Show All
