somchai's Q&A profile
Microsoft ISV Community Center Forums What's your experience with the buddy program?
Started by admin at 03-28-2005 5:11 PM. Topic has 2 replies. 03-28-2005, 5:11 PM admin Joined on 12-16-2004 Posts 14 What's your experience with the buddy program We've already received a couple of posts on buddy experiences (thank you!) and would love to see more of them, so feel free to jump in and reply to this post and share yours! Thanks, Brenda [msdn/isv] 05-09-2005, 6:08 AM thomas woelfer Joined on 02-14-2005 Posts 5 Re: What's your experience with the buddy program i introduced myself and never h ...Show All
.NET Development How to get "Everyone" account name string culture indenpendantly
Hello, I'm trying to give permissions to a message queue with this code line: logQueue.SetPermissions( "Everyone" , MessageQueueAccessRights .FullControl); This works fine on a english Windows XP, but the problem is that when I try to run this code on a portuguese Windows XP it fails because the "Everyone" account does not exist, it is called "Todos". How do I get the "Everyone" account name string culture indenpendantly I'm going to install my app in a turkish Windows XP, and I have no idea what is the name of the account. The problem is that the string &quo ...Show All
Visual Studio Express Editions read a remote file in a char * variable
People, how do I read a remote file in a variable Respectively, I need some function like char *file_get_contents ( char *url ) so that i can remote_file = file_get_contents ( "http://192.168.0.10/somefile.html" ); Is there some straightforward way Before trying to do this through HTTP, are you able to do this by going through the LAN filename = " \\ \\192.168.0.10\\www\\somefile.html " // this will open somefile.html using NetBIOS and the Windows Network, // like how a mapped network drive works. ...Show All
Visual C# Correct me!
Here my code and I need your help... This is a game about number guessing, computer generate a number, and the user try to find it... Firstly; The user choosing these 3 selection; digits: 0-9 we do it by combobox; chance: we do it with textbox... Digits repeatable and nonrepatable(I NEED THIS);(with radio buttons) And then; The user write his guess in to theTEXTBOX... And we must compare this digit by digit. Because we will give a hint about the number, like "how many digit's place is true, and how many digits are existing in the number which one the user trying to found... I hope U can understand something... We must add the pro ...Show All
Visual Studio Express Editions Storing Value from SQL Queries
Hi The current project I'm working on involves me to retrive and generate new ID from my SQL tables. I have already worked out an algorithm but is having problem with the implementation. The algorithm involve me to have a custom query to retrieve the highest ID in the table and then storing it as a variable (int) in VB Express. Then using that variable, I can generate new ones by incrementing it. My question is, how do I store data from SQL into a variable The query looks something like this: SELECT MAX(ProductID) FROM Products Thanks HI, anyway by retrieving the max value and increment it ma ...Show All
Visual C# how can i databind for a windows application?
good day everyone, i tried to do databind() in a windows application but it wasunsuccessful. is there any way to extract data from several tables like the databind() method in win application i used it before in web application and it was working fine any idea anyone plz help...urgent....thanks.. the codes below is vb codes that i used in web form,but i dono how change it to win form since i couldn't find databind(). any idea 'Populated the Subject DropDownList with the subjects that the lecturer is teaching from the database Sub FillSubjectList() OpenConnection() Sql = " ...Show All
SQL Server Restricting Access to a database
Hi I wish to setup a database that can be viewed only by a few users. How do I stop other users and the general public from seeing the database and its structures. Cheers Al There is sometime a misunderstanding in authentication and autorization. Unless you don’t autorize a user which is created at server level to access the database, he even won’t be able just to change to that database because he will see something like: Server user <Username> is not a valid user in database <SomeDatabase>. So perhaps if your current users ARE able to change to the database they are probably par ...Show All
Visual Studio disable the normal prompting process
I have a C#.NET project, where I am filling parameters. I need to disable the normal prompting process in the report. How could I do it (and how could it depends on VS version when I worked in Beta 2 everything was fine, but in RC1 version it's not) Are you referring to parameter prompts If you assign values to all of the variables before displaying the report, then it shouldn't prompt for input. Make their values be DBNull.Value if you want to bypass the parameter prompt by passing null values. ...Show All
SQL Server SQL SERVER 2005 LOG FILE
Hello, I am working on SQL Server 2005 Report Builder. I read that we could view the SQL Query generated by the Report Builder in the LOG File. Please could you give me exact steps or path as to where I could find this LOG FILE. I want to be able to view the exact query which is generated. Please could anybody help me (I found some LOG Files but could not see any SQL query in them, please could somebody help me) Thank you ...Show All
Windows Forms Creating custom border
Hi all, I am using System.Windows.Forms namespace for creating some graphical application on C#. I need to create a custom border for Panel control. Thank you, Duvel Sorry it posted twice, I posted and it took very long to show up, so I tried again. ...Show All
Visual C# Nunit
Hi all, i want to ask about Nunit. Is there anyone there in this forum use Nunit and does it make a significant improvement to c# codes What about Exception Handling What is the difference between Nunit and Exception Handling Thanks :D Hi! I think NUnit is such a tool that all .NET developers should know I can't really tell how much usefull is it - trust me, try it! Exception handling is for catching unexpected errors you shouldn't catch expected errors in most cases, because expection handling hits performance), whic occours while the user runs your program. NUnit is a testing framework, wh ...Show All
Visual Studio Team System Importing Bug Database to TFS Work Items
Hi there, I am currently in the process of doing a proof of concept on TFS to prove that it will do what we need to do. Sourcecode I hgave succesfully imported from VSS and all is going well. I now need to try to import our Bugs database from a system called "Jira" http://www.atlassian.com/software/jira/default.jsp clicked=footer into (I imagine) TFS work items. I cant find anything in the MSDN on how I would do this. All I can think of - is somehow dumping the database out into Excel and trying to import from that. Has anybody else tried to do this Thanks, Danny ...Show All
Visual Basic Resources error.
I have a toolstrip button which used a local resource for its image. I replaced that with a project resource image file and deleted the local resource since it was no longer needed. Now I get the following error whenever I try to run the application: Error 3 The item "obj\Debug\AppName.frmOne.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter. I tried accessing the help information for this error but it seemed that none was available. What do I do to fix this ...Show All
.NET Development Deserialization problem in DLL (unable to find assembly)
Hello, I don't understand why this code works within a normal exe test application but it doesn't work in a DLL (it returns the exception in deserialization: unable to find assembly (InvisibleLists....etc.. ): Config.SaveOption(cmb.Items); DataListView[] data = Config.LoadOptions(); ... [Serializable] public class DataListView { ... } Note: the DLL is composed by 3 files and 1 of them contains the DataListView class that is the one that is serialized. I solved the problem by forcing an assembly load like this: AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(MyResolveEventHandler); static ...Show All
Visual Studio 2008 (Pre-release) How to force the UI update in WinForm interop?
I host a UIElement in ElementHost and find the UIElement will not be updated automatically. How can I force it to update This problem does not exist in Jan CTP. Thanks! This does not repro for me using the Feb CTP bits. This was a known issue a while ago. Make sure you are using the correct version of the WindowsFormsIntegration dll. In the Feb CTP we shipped two different versions of the dll in two different places. The place where you normally get the dll from has outdated bits. For this CTP only, you should take the dll from the "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Cider" directory. ...Show All
