davep1553's Q&A profile
SharePoint Products and Technologies SPContext.Current.Site - Operation is not valid due to the current state of the object
Hi, WSS 3.0, VS.NET 2005 Sp1, and MSDN walkthru: How to: Create a Web Application in a SharePoint Web Site located at: http://msdn2.microsoft.com/en-us/library/ms368312.aspx The error generated says: "Operation is not valid due to the current state of the object". I am able to see the ASPX page at: http://server:43302/_layouts/SPUsersGroups/default.aspx Here's the entire code block. Any assistance would be appreciated. I just don't know what the error means or how to resolve it. protected void GetSitesAndGroups() { string bUrl; string userList = SPEncode .HtmlEncode(TextBox1.Text) + " is a user in the following webs:<BR>" ; SPSite mySite = SPContext .Current.Site; SP ...Show All
Visual Basic SQL STATEMENT Select, where * problem
I have what appears to be a simple query but I have having major problems The Query that works is: SELECT * FROM Mutual WHERE (Ticker = 'axiax') When I change it to the following it does not return any results: SELECT * FROM Mutual WHERE (Ticker = 'ax*') I think I have tried every combination of "" and spaces and can't get anything to work. I am running Visual Basic 2005 Express Edition, SQL Server 2005 Express, and it is a Access 2003 database (.mdb) Please help. Thanks that worked , I thought I had tried that but I guess not. One More... Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Shortfunds ...Show All
SQL Server SQL Server on a subset of processors
Can I install SQL Server on a machine and use less than the # of processor on the machine. In a UNIX world, I'd call it LPARing with Oracle and AIX, and they only let me do this with Enterprise Edition. With Windows, I think the only way is using virtual machines and attaching processors to them Do any vendors offering LPARing Can I take any edition of SQL Server and subcapacity price so that I only pay for the processors I'm using What about SS Express It only scheds to a single core - so could I put that on a larger machine Thanks! So I get the I have to disable the processor. What I'm missing is that everyone keeps says check with licensing partner etc. That's what I'm trying to under ...Show All
Windows Forms Midi and hide mainMenu
I have a midi form with a menu on it. Is there a way to access that menu from a child form to make it visible/not visible frmMdi doMenu = new frmMdi(); doMenu.mainMenu1. Thanks, Zath ...Show All
Internet Explorer Development Can we show navigation buttons but hide address?
I'm moving this from a question appended to another message. We're in the process of testing and migrating our internal web applications from IE6 to IE7. When we open these windows, we hide the address bar. Unfortunately, that now means we also hide the navigation buttons, which are a required part of the user interface. Is there any way to hide the address (location) portion without losing the navigation buttons TIA! Mary Thanks for the reply, Lance. We have a workstation set up for testing our apps in IE7, and we're not having problems hiding the address bar. The problem we've run into was caused by moving the navigation buttons (back, forward, refresh, stop) into the address bar. In IE6 the navig ...Show All
Windows Forms DataGridView in VS 2005
Hi everybody, I have Website Addresses in a column of one of my DataGridViews. I would like to show it in HyperLink, so user can just click on it and go to the browser and view the Website. Does anybody have any idea !!! Thanks so much, Mathew thanks so much, so there is no property to be set to do it automatically Anyways, your answer helped me to do the same in my application in C#. Thank you very much again. Mathew ...Show All
SQL Server Formatting Issue
Hi I am using Reporting Services 2005. I have deployed my reports on mutiple servers. It works fine. But on a specific server, when I deployed my reports, its formatting disturbed for a specific font. Wherever I have used Font: Name: "Arial Narrow" Size: 8pt Style: Normal Weight: Bold Decoration: None its size changed and disturbed the whole formatting. It is something related to server settings, but I dont know where to change the formatting to solve the issue. I have tried to change the system display resolution, but it didn't worked. I cant re install server as it is client's machine. It has "Microsoft Windows 2003 Server" installed on it. Please help me to solve the problem. Looking for a q ...Show All
Visual Studio Express Editions randomization app
how would i go about designing and writing an app that can randomize names and numbers. halo2 is what i would be making it for to decide teams. i would base each player on number for talent and then the app could randomly select teams. any ideas. and im fairly new so i have only written a couple apps so i would need some help. thanks. dude. awesome. i have 2 problems. one isnt a real problem just another feature that would be nice. now if we generate teams sometimes it may generate teams as really skilled people on one side and bad people and the other. how could i make it to distibute teams by skill and im not excactly a pro at this stuff, so how would i design it thanks for the reply. ...Show All
SQL Server BETWEEN LAPTOP AND DESKTOP
Hi, I want to jumpstart my learning of SQL Server so I downloaded the Express edition onto my desktop in the office and also onto my laptop. I usually connect the two machines (through a LAN) to update whatever I was able to do at home while in the office. What should I do in order to view or edit whatever I started on the laptop from the desktop Would the databases I create on one be accessible through the other machine for editing and the likes Glint. hi Glint, you first need connectivity.. if that has to be performed at work, this is not a problem, as you just plug the office lan cable and you are on.. actually you do not need SQLExpress to be installed at all in the desktop pc as your ...Show All
Visual C++ VC8 LoadLibrary access violation
I am doing load library but getting access violation CString strModule(_T( "MyWatch.dll" )); HINSTANCE hModule = ::AfxLoadLibrary(strModule); DWORD dwErr = ::GetLastError(); //998 Access violation in one of the dependent module but when I preload them like HMODULE hModule0 = ::LoadLibrary(_T( "gadgetd.dll" )); HMODULE hModule1 = ::LoadLibrary(_T( "gridd.dll" )); HMODULE hModule2 = ::LoadLibrary(_T( "Mylib3_2d.dll" )); HMODULE hModule3 = ::LoadLibrary(_T( "Myclient3_2d.dll" )); HMODULE hModule4 = ::LoadLibrary(_T( "ot900asd.DLL" )); I am getting access violation in my module MyWatch CString strModule(_T( "MyWatch.dll" )); HI ...Show All
Visual Studio Express Editions Menu is "not on top" when clicked
I have a menu on the top of a page buit using visual basic web dev exp. When I click the menu I see the item but they are behind other panels. When I "bring to front" that still doesn't help. on another area of the menu, white lettering is actually transparent although it is set to white, then i see text behind it. How do I make the menu always on top thanks These questions are not handled on this board. Users are referred to: http://forums.asp.net/ which specializes in these kinds of questions. ...Show All
Visual Studio data set name is missing in the data region 'DataSetName'
hey guys. I got this error when working with reportviewer in local mode. Using a connection string and Dataset which is new I created another viewer with a .rdlc. Everything was working fine. I check in to source safe, close up, and re-load visual studio and now I get this weird message coming up saying: \ \\\\ \\\\ An error occurred during local report processing. The definition of the report ' ...Show All
Software Development for Windows Vista Activities with Collection Properties + Undo...
Hello, I have an activity with a couple properties that are collections and we allow the user to edit these via the standard .NET collection editor. This works great, except that we cannot get edits to these collections to work with Undo\Redo in our rehosted editor. It seems that the serializer used by the undo engine, when serializing specific members, does not serialize collections properly - instead you get the string "(Collection)". Thus making undoing changes to the collection impossible. Note that serializing the entire activity works as expected (the property is marked with [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]) Does anyone have any experience with collection properties on activities an ...Show All
Audio and Video Development Graph Edit Replacement
How likely are we to get a graph edit replacement for Media Foundation This tool has proven itself invaluable when working with DirectShow and it would seem a must to have some kind of tool to build graph/topology with an application. Just a suggestion. Marc Yup, graphedt sure is nifty, and tools like that would be great for MF. I'm sure you'll believe me when I tell you that this is not the first time we've received this feedback. Duly noted :-) ...Show All
Visual C# 同 How to use c # to write shrinking algorithm?
Algorithm use c # language is described shrinking Can write the code example thanks ----------------------------------------------------------- --This is group of data ,Judge next number through these datas What method have ----------------------------------------- 1: 019 2: 484 3: 733 4: 313 5: 736 6: 255 7: 459 8: 558 9: 504 10: 735 11: 193 12: 035 13: 550 14: 814 15: 916 16: ...Show All
