fueidosffjewoei's Q&A profile
SQL Server seperate fields for first, last and middle in access db
I woluld like to join the 20 or so queries I have to seperate last name, first name, middle initial, second first name, second middle initial, title. all values are in one field. I there a sql statement i can write to seperate into different fields you really should redesign that table. . . its not "normal". Google "Normal Form" +database ...Show All
Visual C# timer problem
hi, i have a windows service which is checking to the desire URL and check back its httpwebresponse data. and, i save the result in a log file insdie local drive. i use a timer to trigger my service's function that check to my desire URL response. the problem is with that timer. since my timer's data type is double, my friend suggest that if it reach to its maximum value my service will get error or it will stop. he had faced with that situation before, but couldn't find out a solution. so, i'ld like to know if it is true, is there any solution to triger my service's function at every 5 minute or at a require interval, li ...Show All
Windows Forms How can I return the method that is called when an event is raised ?
How can I return the method that is called when an event is raised System.Reflection.EventInfo.GetRaiseMethod does not work. most controls and components have an events property which is a EventHandlerList class. This in turn has an items property you can then get the method you want, I don't have any code samples since I'v never had to do th ...Show All
Windows Forms ListView Group
How I can add + (Expand) and - (Collapse) functionalities on ListView. (am able to build group like view) Check out this link: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=194921&SiteID=1 ...Show All
.NET Development MDX - are my woes still x64 related?
Your mission, should you choose to accept it, is to test this code, and get it working if it doesn't. Major karma to the person who cracks it, or can tell me what is wrong, or who can confirm that it will work as normal under the x86 platform. To follow up on my previous post, the problem is not solved but has been worked around by limiting my target platform to x86 (which in itself took some doing). This code causes an MDA exception about calling managed code during the loader when I run it here (x64 versions of VSCE2005 and .NET2.0, MDX Oct 2005). I believe that this is not the case, since I have decoupled the event via a form button ...Show All
Visual C# About DateTime
Actually i want to display the DateTime in my Application in Indian TimeZone only, Eventhough we put the application in any server it should display the DateTime in Indian Format(TimeZone) only. so please send the proper way with source code ASAP Pradeepvmca wrote: Actually i want to display the DateTime in my Application in Indian TimeZone only, Eventhough we put the application in any server it should display the DateTime in Indian Format(TimeZone) only. so please send the proper way with source code ASAP Int16 LocalTimeZone = 6; DateTime .Now.ToUniversalTime().AddHours(LocalTimeZone); Something like t ...Show All
SQL Server Data type conversion SQL Server to Access
Hi all, I have two conversion problems while exporting data (using the "Import and Export Wizard") from SQL Server to an Access 2003 file: Varchar (even smaller sizes like 43) is getting converted to "long text" (type in Access: Memo) Bit is getting converted to "short" (type in Access: integer) Does anybody know the reason for this And how to change this behaviour I could change the data type with "edit mappings", but doing this every time is a bit annoying... If this is relevant: I'm using an english version of SQL Server Management Studio and a german version of Access 2003 Than ...Show All
Visual C++ Embedding an edit control into a tab control
I want to embed four different edit controls into four different tabs. How do I do that Please include more details What technology are you using What have you tried so far yourself Thanks, Ayman Shoukry VC++ Team ...Show All
SQL Server 2005 Query help
Please help. On sql 2000 i have a query like this where the columns are primary keys. Select count(*) from db.dbo.table1 where convert(varchar(3), col1) + convert(varchar(10), col2) not in (select convert(varchar(3), col1) + convert(varchar(10), col2) from db.dbo.table2) It completes in 1 second with sql 2000. I have restored the db to sql 2005 and run the same query. The processors peg and it goes to la la land. I have updated statistics and installed SP1. Anyone have ideas The sql 2005 is even way better than the sql 2000 box. If you have a better way to perform the same task, please let me know. Thanks! ...Show All
Visual Basic Most wanted code snippets and resources
Hi Everyone, We'd like to hear your ideas and opinions on Intellisense Code Snippets . - Which new code snippets would be most useful - Which code-snippet categories already in Visual Studio would need additional code snippets - What new snippet categories would you add to the ones already in Visual Studio - Which code snippet resources would you find most useful in your everyday experience using, authoring and sharing code snippets Please reply to this thread with your thoughts. Thanks for your feedback, The VB Snippet Community Team Just to get the discussion going ...Show All
Visual Studio Express Editions run my app in fullscreen
hello world . do you have any idea how to make my application run in fullscreen mode please help me By Fullscreen, did you mean Maximized Mode If you want to run it in maximized mode, then change the WindowState property of the Form to Mazimized. ...Show All
Visual Studio Team System 2 TFS Project - 1 Source Control Root
Is there a way to create 2 TFS projects that use the same source control tree When creating a new TFS project, when you get to the step where you "Specify Source Control Settings", the three options are to 1) create an empty source control folder, 2) create a branch of an existing, or 3) don't create a source control folder at that time. If you select the last option, is there a way to "bind" the TFS project to an existing Source Control Folder later To expand on Martin's point: in TFS, the name of the source control folder is always the same as the name of the team project, so the ...Show All
Visual Studio VS inproc compiler, MSBUILD and the obj subdir
I've been toying with the new VS and MSBUILD for the last few days and I stumbled on a bit of a problem. I've been trying to move the bin and obj subdirs out of my c# sourcetree with mixed results. the bin subdir was easy, that can be set in the project settings. the obj subdir is slightly more problematic. I've added these changes to the start of a test csproj file < PropertyGroup > < BaseIntermediateOutputPath > ..\..\obj\ </ BaseIntermediateOutputPath > < UseHostCompilerIfAvailable > false </ UseHostCompilerIfAvailable > </ PropertyGroup > now for the questions: 1) Is there a better way ...Show All
Visual Basic Edit and Continue
Got either a misunderstanding or a bug. When I go into Edit and continue, if I try to edit a Linked Form/Module, the IDE says it is Readonly. Did I miss something in the manual, or are linked files Readonly except when they are not linked Thanks That was what I had thought. It would be nice to allow the E&C on linked modules. I have common modules for many different projects which sometimes I need to change or add parameters, routines. Thanks for the Info Larry ...Show All
Visual Studio 2008 (Pre-release) Loaded - Initialized - SourceInitialized
I'm hoping someone can help out here ... I'm trying to figure out exactly what these events "mean". Certainly, most sample code uses the Loaded event to mean "this object and its descendants are completely ready to go". However, I'm fairly certain I saw something from a WPF team member stating that -- at least for a Window -- the SourceInitialized event is a "safer" option. (This event is only available for Window objects.) And in the midst of all that, what about the Initialized event What does that tell me I started using this for non-Window objects on the theory that it was the non-Window "analo ...Show All
