bella01's Q&A profile
Software Development for Windows Vista TokenHelper depends on NetFx 3.0
I'm ready to deploy support for information cards here at Pluralsight. Only problem is, I don't relish the idea of putting a CTP up on our public web server. Is there a version of the TokenHelper (or something like it) that will allow me to decrypt and parse tokens using NetFx 2.0 Before I go off and build this myself, does anyone know if this already exists I have got a working sample that decrypts the Cardspace token coming in that works on a ASP.NET 2.0 page. Of course, this is a hack job and there are no try catch and the xml parsing code is hastily done. To summarize, I wont win the elegance award here ... but you can get it to work on .NET 2.0 (or maybe even 1.1) ... http://www.softwaremaker.net/bl ...Show All
Windows Forms How can I stop ListView from doing this?
This isn't a codeing problem but a display thingy. My ListView is working (somewhat) and populated but when I scroll down, either by the mouse wheel or by clicking on the scrollbar "down arrow", I can see "ghost" lines showing up in the cells. It's like the rows are shifting down and overlapping the row below. The lines disappear when I scroll upwards. Is this a problem with the ListView or a setting on the refresh rate of my monitor I don't see this with the DataGrid or the DataGridView. I'm using a 19" monitor at 1280x1024 60 hertz I can only use 60 or 75 hertz and this happens with both settings. I have seen this happen on other controls....but it comes down to its not a refresh problem, but h ...Show All
.NET Development how to use top in stored procedures
create procedure sp_selectcard @cardno numeric,@trans numeric as select top @trans custid,card_number from detail_prepaidcard where card_number=@cardno this is my storeprocedure. the question is.It does not allow top to be used with the input parameter.. it needs top (n) and not the parameter. how can i use top in stored procedure Are you using SQL Server 2005 if so please read below article http://www.code-magazine.com/Article.aspx quickid=0501041 Cheers!! ...Show All
SharePoint Products and Technologies Is it possible to put the Sharepont Configuration Database in a SQL Server 2005 Database
I installed WSS 3.0. It creates a named SQL Express Database called Microsoft##SSEE. But it would be a lot better if I can delete this instance and use the existing SQL Server Instance... I can put the content Databases to the already running SQL Server 2005 but I could not put the configuration Database to the SQL Server 2005 Instance. I also can not connect to the SQL Express Instance with the Management Studio. Is there any way to get the database from Express Instance to the SQL Server 2005 Instance Thanks for your help! Markus Hi Craig, ABOUT CONTEND DATABASE ONLY (I have the german version of WWS so I translate the menus back to english and maybe the translation is not correct.. ...Show All
SQL Server Instead Of Trgger Marked Not For Replication Kills After Trigger
Kill may be overdramatic, but... I am te sting a merge publication with a push subscription. The publication contains a single table. That table has an INSTEAD OF UPDATE trigger marked NOT FOR REPLICATION and an AFTER trigger that needs to go off during replication. During Synchronization neither trigger goes off. If I drop the instead of trigger the after trigger will go off. What is going on Thanks, To set "Not for Replication" for an article, you should set through schema options. Please refer to BOL ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/rpldata9/html/9e230b92-162f-429b-afbb-6f32a2111c73.htm Section: To specify the NOT FOR REPLICATION option You can call sp_changemergear ...Show All
SQL Server sqlConnection ..what should I expect ??
Hi all, I'm trying to connect to my SQL SERVER 2000 database via Sqlconnection command with the code below,do I need to do something else to make sure the database is really opened ..I keep getting error at conn.Open(); which I dont know what do about .. any help will be really appreciated using ( SqlConnection conn = new SqlConnection ( "Server=" + dbServer+ ";Database=" +dbDatabase+ ";" )) { conn.Open(); SqlCommand cmd = conn.CreateCommand(); cmd.CommandText = "SELECT * FROM LOCATIONS" ; cmd.ExecuteNonQuery(); conn.Close(); } thanks Alaa M If you are using integrated security you nee ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Memory Leak?
Heya, I've been working on this 2d game for about a month and a half. A space shooter with a ton of animations. But thats not the problem the problem is recently as the amount of Images has increased I've noticed that the memory usage never stops going up as the game progresses. I know there is some kind of flaw or redundancy in the way i store textures now since the release of beta2 and the content manager. However What would cause memory to keep adding up until the game begins to stutter The structure for storing textures was done before the content manager so it is just a Dictionary class that loads and gets textures loaded via the content manager. The UnloadGraphicsContent method in the game unloads the content mana ...Show All
.NET Development sockets vb .net
Hi! i'm looking for winsock control in vb .NET, but i can't find it. I need an array of sockets.. Is there any way to work like VB6 (Drag & Drop, and calling .DataArrival, .Connect and the other methods and events) I'm newbie in this area.. Thanks! I'm trying to use the asynchronous sockets looking at the example in the msdn. It should also works, isn't it Thanks! Another question about that.. client.BeginReceive(state.buffer, 0, StateObject.BufferSize, 0, New AsyncCallback(AddressOf ReceiveCallback), state) client.BeginSend(byteData, 0, byteData.Length, 0, New AsyncCallback(AddressOf SendCallback), client) If I have these commands, I should modify the New AsyncCallback If I use the function Send ...Show All
Visual C# Get value from a different class.
Hi people, I have a form with a ListView and a ContextMenu. A right click on an item in the ListView launches a new Dialog (a different class). The problem is that I want to be able to get the item that initialised the ContextMenu from within the new "Dialog Class" or by any other means. In the "ContextMenu class", I think I can get this value using MyListView.GetItemAt(mouseArg.X, mouseArg.Y).ToString() (no ), but how can I get this value from a different class . I can't create an instance of that class and then call the method because the method needs the mouse parameters. Does this make any sense . Any help will be most appreciated. Thanks. I don't know if this helps but you can pass into the class you are goin ...Show All
SQL Server sql server 2005 query analyser
is there a query analyzer for sql server 2005 as in sql server 2000 bcoz i downloaded the 180 days evaluation version & installed it . i have worked with sql server 2000. but there is no query analyzer for 2005 how can i write queries & execute of course there is vs 2005 which has come with sql server 2005 evaluation copy. plz help! bcoz i really want to work with sql server 2005 thanks in advance for ur replies Then you either did install the SQL Server Express edition or did not install the client tools of SQL Server 2005. HTH, jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Windows Forms think i found a bug in vb.net (vs 2005) - Display Row header text & Hidden Panels
stupid f'in IE!!! crashed right when I tried to post this last time!!! ARRRRGGGGGG! It's a conspiracy to hide bug reports!!! ok, rant over, let's try again... ran across an odd thing, wonder if anyone knows what is going on here... I'm creating (my first) windows form and have 7 datagridview objects. 4 are housed in a panel (" AnalysisPanel "). These 4 hold detailed information, which isn't that important - so to save real estate, I set the AnalysisPanel. visible=False and inserted an arrow (picture box) that when clicked, sets AnalysisPanel. visible=True and grows the form to display the info. However, none of those 4 dgvs display Row Header Text (they display the Row Header Cells - but there is just no text ). These 4 ...Show All
Software Development for Windows Vista copying network files - session remains opened??
I need to copy a file from one machine to another (both are remote) To do it I use WNetAddConnection2 to authenticate over the remote machines and to map network drives to the administrative shares \\machine\C$ on both machines. Then I just use FileCopy(Ex). After all I close both connections with WNetCancelConnection2. The problem is that in Computer Management->System Tools->Shared Folders->Sessions after each routine described above a new session is being opened and it stays there until I close it manually. In a while machine refuses to copy the files, because to many sessions are opened. All the machines are under Windows 2k3. The runite is implemented as the ISAPI Extension. How can I force the session to close, or maybe you ...Show All
.NET Development Selecting / Update records - Concurrancy
I'm new to Visual Studio 2005 (Visual Basic). I'm an Oracle guy but I do allot of development in MS Access. I don't want to use ADO.NET's generic behaviour for record locking, etc. What I'd really like to do is to have the same behaviour as Access has where if a user changes a field, the database locks the record. I was wondering if you had any sample code that would allow me to set up a form that has a combo box on the top of the form where the user selects a record. Then the database fetches the row and displays the data on the screen. If the user changes the data, the form locks the record. What's the best way to accomplish this I've heard that this can be accomplished using transaction control but I haven't found any form / ...Show All
SQL Server SQL Server 2005 SP2 - December CTP is now available...
Hello SQL Server Community, SQL Server Service Pack 2 (SP2) has not yet RTM. However, the December CTP bits of SP2 have been out since late Decemeber. These is the second public CTP for SP2. You can download from here . There are 1000's of fixes since SP1 that are in this CTP, so I encourage you to download and see if some of your issues are resolved and report any new ones. You can report issues following the instructions detailed here . In addition, there are new improvements in this service pack. Here is some of them that I was brought to attention: Driving Innovation: § Support for the upcoming Windows Vista. § Data Mining Add-Ins for Office 2007, which enables data mining functionality from SSAS to be ...Show All
SQL Server filegroup auto-growth - know when it happens?
Hey guys, I'm running SQLServer 2000. I am in the process of looking over our current filegroups and providing reports based on file size increases. One thing I'd like to know is when (date and time) a filegroup last "auto-grew". Is there a way to know when this occurs thanks, Jason Derek, Thanks for the info. I should have re-worded my question I think: Is there a way to know when the date/time a filegroup last auto-resized Let's say it auto-resized last friday, is this timestamp stored somewhere Profiler would tell me only if I was running it at the time of the resize. I'm trying to correlate the time of an error with the last time a large filegroup resized. thanks Jaso ...Show All
