dcoder_85's Q&A profile
Visual Studio Express Editions visual basic express problems
what is the code to update a database, the code i use tells me an error the prob is, i have a mdf called reclist, a tables called songfileds.when i use the code; mainview.songfields.update(me.reclist.artist) i get the error " reclist is not a member of newrec.addsong. i dont understand what it wants or doent like. mainview is the project name, addsong seperate class, artist is one of the field of my table. i am pulling my hair out right now. ...Show All
Smart Device Development working with threads - novice
Hi, I'm new to this forum but I hope I posted inthe right section. I'm kind of new to C# so please be patient with me :) I'm tring to save my path (gps coordinates from my asus a636) to a kml file as part of a bigger project. I managed to save my present location but now I want to save a set of coordinates. I have 2 buttons for this task: startRecord - should start the while that writes to file the coordinates, and saveTrack - should stop the while. I have the following code for the save part. The problem is the WHILE. When in starts it never stops. Being kind of new to c# I searched and found that the problem is that the WHILE should be on a separate thread. Is this the solution If so...could you show me how to plac ...Show All
.NET Development Getting started help on databases
I hope that somebody can point me to right direction. I am planning a software with a client server or how to name it. I need different users to be able to work from the same database in a local area network, how do I do this I have VB 2005 Express and Visual Studio 2005 pro and SQL server Dev. Please tell me the best and easies way to do this and maybe you know about any sample codes that I can have a look on. Bert Thanks for your reply. I have started the project in VB 2005 express just to see that I can get it to work that’s why I have it. I have made connections and all of this and it all work fine but before I do anything more I need to know how to code it so it can work ...Show All
SQL Server SQL server version needed for an internet application
Hi All, I am a new comer to the internet e-commerce and ebusiness service. I have limited budget for my startup. I would like to know whether the SQL Server 2005 standard x32 edition (5 client), as this verion is still relative affordable, could be good enough to support an ebusiness intertnet site. When an internet broswer access to my site, would that access be counted as one client Also, I would like to know whether anyone there have experience of using SQL express edition to support an internet site, that potentially need roburst data transaction. Thanks a lot. SPA ...Show All
Visual Studio Team System Problem mapping OutlineNumber
I am trying to recreate the MSProject hierarchy in TFS. For that reason I want to map OutlineNumber to a TFS field of type string. However, when I add that mapping to TFS, I cannot create work items in Project anymore. When I select a certain work item (which has the mapped field) in Project and I leave the cell, the value I selected disappears. When I remove the OutlineNUmber mapping, there is no problem anymore. So, I know where the problem is, but I don't know where to find the solution. Surely, it must be possible to map OutlineNumber which is just a string to a string field in TFS String field types are not supported in the outline fields in Project. Only TreePath is supported. You can get more information at http://msdn2.mi ...Show All
SQL Server Change location of template files
In SQL2000, there's an option to change the location of the template folder. This allows me to create a customized set of templates on a network folder and have all the developers reference the centralized location. Can the same be done in SQL2005 and how would I go about doing so Thanks. ...Show All
Internet Explorer Development IE7, OE6 Printing problems with headers
Having an intermittent problem printing To: From: CC: Subject: Attachments: headers on emails. Usually happens with larger emails or emails with large attachments or emails that have been replied to or forwarded from other people. Have installed Generic/text printer and sent the email to this printer but sometimes the headers are still missing even printing this way. I have if I open the offending email and highlight just one or two words in the text of the email eg Dear John and then print the email using my HP printer (not as text on Generic printer) - the headers then print and so does the selected words. Don't suggest using Outlook as often we only print the first page of emails as we already have the rest of the email on file especial ...Show All
Windows Forms Open Window in new IE window?
Greetings all, This might insult someone's intellligence, but how do I detect if an instance of IE is already open ...and if there is a window open, open in a new window Thanks for any help, Adamus The problem is not resolved. None of the solutions work. I need a solution during a page_load event that will detect if an IE instance is open...and if so, open a new window. ...and a VB.net version would be preferable. Thanks, Adamus ...Show All
Visual Studio 2008 (Pre-release) how to force wpf uielement to repaint?
Hi, If I update UIElement.content, is anyway I can wait until the new content is displayed before I do any work My code is like this //a user action triggers the following code label.Content = img //img is an Image object I created dynamically in the code, //code t o process the new loaded image. for example, render the updated page to an image file The problem is the new image won't show up until the function quits. I try to use img.loaded event but the event is fired before the image is displayed. thanks a lot chong Usually when you're trying to force a control to update you're doing the "wrong thing" in WPF. In your case I would recommend making a call to Dispat ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem creating depth textures
Every time I try to create a depth texture an external component exception is thrown. I have tried creating it first (in case it was a memory issue) and with every set of parameters i could come up with. I am having no problems creating render targets or with creating a depth surface. The code: //creating the surface works, the texture does not //Surface surf = graphics.GraphicsDevice.CreateDepthStencilSurface(graphics.BackBufferWidth, graphics.BackBufferHeight, DepthFormat.Depth24, MultiSampleType.None, 0, true); m_depthMap = new Texture2D(graphics.GraphicsDevice, graphics.BackBufferWidth, graphics.BackBufferHeight, 1, ResourceUsage.DepthStencil, SurfaceFormat.Depth24, ResourcePool.Default); m_positionMap = new Texture2D(graphi ...Show All
SQL Server date format change on US Server
Hi, We have a server (SQL 2005) set up as US date format and have tried to change it to UK using syslanguage etc Anyone know how to do it at a global level so we dont have to change lots of SP Regards Stu Datetimes are stored language independent in SQL Server. Its the setting of the user which makes the datetime appear in the local format. if you Change the individual setting of the user, the datetime will be displayed in the appropiate format. If you want to set the default language for any new logins you can use the sp_configure with the default language option. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Smart Device Development a Remember Me textbox
Hi, I have been trying to find the optimal way to create msn like remember me boxes, I tried text files but seems that there is a problem with spaces and parsing text, should I go for XML serialization and serialize the users ...Show All
SQL Server how to do this in SSIS? soory if i m a noob
Hi all, Am trying to setup a SSIS package between a sql2000, sql2005 source and a sql2005 destination. I have 2 concerns, firstly, due to performance reasons (we have 2 huge legacy databases): After 1st run, Source table has: 1 - 1000 records Destination table has: 1 - 1000 records For 2nd run, Source table has: 1 - 1500 records Destination table has: 1 - 1500 records How I insert only the 1001th record - 1500th record, without touching the 1st to 1000th record Secondly, if there are any changes in values in the records 1st to 1000th record, how to I compare and only update the value that has changed Is there any particular configuration setting in sql that I can use Many thanks for any help provided. ...Show All
SQL Server SQL Challenge
Im having a issure with an SQL query. Im not even sure if its possible to get what i want but here goes: I have a few tables, namely: Agents, Customers, Payments and Dates Agents: Customers: Payments: Dates: and i need a query that will output for every customer and every date, even if there is no payment (if no payment on that date, 0 returned) Some thing along the lines of: i will then be able to preform where clauses and what not on the query results.Any help will be greatly appreciated. Regards Dcoder Hi, the dates table exists in order to restrict the user to enter payments on oly those dates. regarding Customer Agent ID, each agent has numerous customers, these are labeled 1.. 2.. 3.. 4. ...Show All
Visual Studio 2008 (Pre-release) KnownType attribute being ignored on service implementation?
Hi, [AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct, Inherited= true , AllowMultiple= true )] public sealed class KnownTypeAttribute : Attribute I added a couple known types to the class that implements my service interface. When I generate the proxies, there are no proxies created for the specified types. To get the proxies on the client, I had to add the attribute to the base class from which the types derrive. ( The service method accepts the base type as it's argument ) Is this normal If you're working with interfaces, simply use the [ServiceKnownType] attribute. I can't at the moment recall what the actual difference is between the two, but I know that I used [ ...Show All
