Software Development Network Logo
  • SharePoint Products
  • Microsoft ISV
  • Visual FoxPro
  • .NET Development
  • SQL Server
  • Game Technologies
  • Smart Devicet
  • Visual Studio
  • Visual Basic
  • Audio and Video
  • IE Development
  • Windows Forms
  • Windows Vista
  • VS Team System
  • Visual C#

Software Development Network >> jwellsntr's Q&A profile

jwellsntr

Member List

briendjf
Soren D.
NCGordon
Sugan
Darrell Davis
Mark Sztainbok
a_martinez
.Net Pro
gpugelni
deji101
Toolmaker
shehz
gjutras
Rober7
magcianaux
vish2007
nato4
Gess Man
Hoguey
LPJ
Only Title

jwellsntr's Q&A profile

  • SQL Server Session State Management

    Hi to all, if Storing my Session values in Sql Server. i want to know how the request will get the corresponding value from Server and how the response will write the value to the server. how its working. With Regards Amjath hi i want to do avoid multi login. so i store the session in sqlserver and for every login i check the particular user already logged in or not. after expire time, the job for delete get fired. so in that time i want to delete the corresponding details for that session id in my table also, how can i achieve that. i think i may edit that sp for Deleting in aspstate. is it possible. With regards Amjath. ...Show All

  • Windows Forms Web Browser Control cookies

    Hey, I am using a combobox to show the URL you are at on the webbrowser control, and I made it so that when you press the Go button it will add the Url to the Combobox list... WebBrowser thiswebpage = GetCurrentWebBrowser(); // Get the currently displayed WebBrowser URLtextbox.Items.Add(thiswebpage.Document.Url); But wehn I look at the combobox it has the webpage URL you were jsut at about 10 or more times in a row...So it is saving the cookies more then once, how do I fix this Thanks :) ok, so now it is URLtextbox.Items.Add(thiswebpage.Document.Url.ToString()); and it adds only one. BUT how would you make it so if it already is in the dropdown then it will not add it again Thanks ...Show All

  • .NET Development webclient.downloadfile() question.

    I'm using C# webclient.downloadfile(uri, string) to download a xml file. I found there are several problems. The file is only 300KB. first, I noticed the download time is much longer than downloading it directly in a web browser. second, sometimes the download will fail and only partial file is downloaded. And when I restart my application the function will fail due to the reason "The file is being used by another process". In this situation, the download will never succeed unless I delete the file manually. Maybe somebody can tell me how to deal with the problem I'm having. Plus this is some of my code, WebClient webClient = new WebClient(); webClient.downloadfile(xmlURL, path); XmlTextReader xmlReader = new XmlTextReader(path) ...Show All

  • Windows Forms How to atop download project which included in my soultion

    Hi all, I'm using clickonce techmology, I have an solution contains of 5 windows application Projects . Four of those projects are exe files (let's call child) are refrenced to the One (let's call it Main exe). Now, when I make publish all the 5 exe files will published. The problem is, if I make build or rebuil for and One of the child project that mean it will published again and downloaded from internet even if this file has no changes (because disg:digestvalue tag in the mainfest will take new value ) The big problem is, if I rebuild the solution even by mistake that mean all my files will downloaded again even if it have no changes. Is there any way to stop this   There was a thr ...Show All

  • SharePoint Products and Technologies sharepoint site migeration

    Hi We have created a sharepoint site on WSS v3.0 beta. Now we need to migerate that site to WSS v3.0 release. Can some one tell how i can approch the situation. I have tryed using STSADM.EXE which is giving a error because of difference in version. thanks karthik You need to upgrade it in site (if you want to keep the content) *twice* First upgrade it to Beta2 TR. Then upgrade it to RTM. So you'll need to follow the instructions for upgrade it to Beta2 TR while running the TR install and then follow the instructions for upgrading from TR to RTM when running the RTM install. You'll find both instructions / links to instructions by searching the WSS FAQ site ( www.wssfaq.com ) and you'l ...Show All

  • Windows Forms Problem setting size of Windows Form.

    I have a form that contains a DataGridView, and the form comes up too small for the user to see all the grid. How do I set the size of the form so that the entire grid (or, at least its width) is displayed I've tried the following: 1. Setting AutoSize to true. 2. Set the size in the Load event: private void MyForm_Load ( object sender , EventArgs e ) { this.Size = new Size(myDataGridView.Width, myDataGridView.Height); } and, private void MyForm_Load ( object sender , EventArgs e ) { this.Width = myDataGridView.Width; } No matter what I try, I get the same results. Thanks for any suggestions, Mike Well, as far as I know, setting Width of a From to som ...Show All

  • Visual Studio Team System How does Code Analysis Checkin Policy apply to a Tester's solution?

    We have set the code analysis checkin policy for a team project that contains separate solutions for the dev and test teams. The solution for the testers contains manual tests and generic tests. When I attempt to perform a checkin of a modification to a manual test I get the checkin policy error indicating that I need to run static code analysis before I can checkin the file. How do you migrate and run static code analysis on a solution containing C# test projects Thanks in advance. ____________________________ Sarah Cameron - InCycle Software Unfortunately the test edition does not contain the static analysis feature. You will need to run team suite in order to get both the team test functionali ...Show All

  • Visual Basic Illeagal Characters In Path Error.

    Hi, I have this error, Illeagal characters In path. I figured out it happend when the FILE NAME had spaces in it, so It took me one week to make it change the spaces to "_". In the debug I didn't have the problem any more. Now I installed the program, and it happend. I don't know the exact line, but if it's because of space it's in the Folder's name. SPACE ISN'T AN ILLEAGAL CHARACTER! Why does it happen Is it a bug in VS How can I fix it Thanks. Tell me if I understanded the Error Message correct: "System.IO.File.ReadAllText(String path, Encoding encoding)" - It's about a My.Computer.FileSystem.ReadAllText Function. "at AUM.Form1.ProfileChoose_SelectedIndexChang ...Show All

  • Commerce Server Update one item of information through Profiles adapter

    Is it possible to simply UPDATE one item of information in a User Profile (UserObject row) while leaving the others intact (the way we simply are able to update one item of inform through the Catalog adapter) We have a huge number of items (columns) in the UserObject table and it doesn’t make sense to pull them all out and then update them again for no reason when we need to update only one item. How else to achieve this I checked the web methods available for the Profiles Web Service – none seem like a good candidate (something like UpdateItem or SaveProperty) -------------------- context -------------- In general, you need to pass in ALL elements of the UserObject profile on update. Elements that are not passed in are ...Show All

  • Visual C++ Marshalling an array from a managed c++ method to a C method in a win32 DLL

    I'm almost there, but it just aint working. void Insert_Polygon( int count, array <Point^>^ pts) { int numBytes = sizeof (Hoops::HC_POINT)*count; IntPtr hPts = Marshal::AllocHGlobal(numBytes); Marshal::Copy(pts, 0, hPts, numBytes); Hoops::HC_Insert_Polygon(count, ( const Hoops::HC_POINT*)hPts.ToPointer()); Marshal::FreeHGlobal(hPts); } How do I get the pts array into an UNmanaged array of HC_POINTS It would be a heckofalot easier if you could declare your argument as array<Point>^. Point is a valuetype so that's allowed. Then, you won't need to copy the array, you just have to pin the CLR array so the garbage collector can't move it around. For example: struct HC_PO ...Show All

  • Visual Studio 2008 (Pre-release) Child table not updating correctly? BUG? MSFT HELP????

    I have a person object, which has via a foreign key an address table attached to it in the LINQ designer. The address table has an addresstype which comes from a types table via a Foreign Key as well. When I create an instance of a person, and check the first address typeID I get a value of 4. Via my interface I change the value to 6 (a valid value in the types table), I can query the Address object and it will tell me it's set to 6. However, once I commit the changes via DBContext.SubmitChanges() the value rolls back to 4 in my local instance. I see not Exceptions being thrown.. and I'm just wondering if there is a bug somewhere in LINQ that isn't allowing the sub-tables for a given object to be updated properly Thanks. Jim ...Show All

  • SQL Server Function that returns table

    Hello, Is there any way to write a function where I can write some code and at the end of the code return a entire table as parameter This function will return a variable temp table... GO SET ANSI_NULLS OFF GO SET QUOTED_IDENTIFIER ON GO CREATE FUNCTION [dbo] . [UDF_ADMIN_GetNewSortList] ( @tText TEXT , @iSortStart INT ) RETURNS @NewList TABLE ( iNewSortOrder INT ) AS BEGIN Declare @tmpList TABLE ( iOldSortOrder INT ) INSERT INTO @tmpList ( iOldSortOrder ) SELECT [cValue] FROM [CPDB] . [dbo] . [udfCharListToTable] ( @tText , ',' ) DECLARE @iC ...Show All

  • Visual Studio Express Editions Setup problem.

    When I launch the msvcs.exe or the msvc.exe they get to the point where it says " Setup is loading installation components. This may take a minute or 2." It's been like 5-10 right now, is there a fix Tyrael Tyrael117 wrote: When I launch the msvcs.exe or the msvc.exe they get to the point where it says " Setup is loading installation components. This may take a minute or 2." It's been like 5-10 right now, is there a fix Tyrael Hi I have the same problem ... i'm installing from the file vwdsetup.exe ... what can the problem be Queenyard ...Show All

  • .NET Development accessing serial port from web page

    The new security model on framework 2.0 makes it very difficult to access the resources from the local machine. There is a very good kbase article on the subject http://support.microsoft.com/kb/839300 "How to use the AllowPartiallyTrustedCallers attribute to call an assembly that has a strong name from a Web page by using Visual C# .NET or Visual C# 2005" Hovever this article does not address the issue of the aquiring the security to access a serial port. I have tried to decifer the necessary permissions needed in code to adapt the code in this article to no avail. I suspect it is something like SecurityPermission sp = new SecurityPermission ( SecurityPermissionFlag . Execution ); sp.Assert(); but t ...Show All

  • Visual Studio Express Editions Im new so...

    What are some good program types to start with besides whats in the tutorials And also does anyone know a eadsy to learn program for making flash vids Try the code samples: http://msdn2.microsoft.com/en-us/vbasic/ms789075.aspx As far as flash is concerned: You can incorporate flash vids into .NET applications but inorder to actually create them you need to look into Adobe/Macromedia products: http://www.adobe.com/products/flash/flashpro/ ...Show All

©2008 Software Development Network