Tarh ik's Q&A profile
Visual Basic Emails
Is there a way to send emails through outlook all the email addresses are on a server. Quick example - Private Sub OutlookMailer_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .SendByDefaultMailClient( "My Message" , "Sample Mess" , " recipient@mydom.com ") End Sub Private Sub SendByDefaultMailClient( ByVal MsgBody As String , ByVal Subject As String , ByVal Recipient As String ) Process.Start( "mailto:" & Recipient & " subject=" & Subject & "&body=" & MsgBody) End Sub ...Show All
SQL Server Error: 18456, Severity: 14, State: 11 Valid login but server access failure
Hi I am new to SQL server and I have been trying hard to make a client computer to remote connect to a SQL express database on host computer I have a VB6 application that can connect to SQL server database LOCALLY without problem: Connection String is: my_connection.ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyMushroom;Data Source=LAPTOP\SQLEXPRESS" I have followed instruction on enabling remote connection function from this blog: http://blogs.msdn.com/sqlexpress/archive/2005/05/05/415084.aspx I then try to run the same app from the client computer, it gives me: Login failed for user 'LAPTOP\Guest'. After looking up the web for solution, ...Show All
Architecture Objects with many child object relations - Need design help!
Hello, First let me start by saying that I am just getting started with OOP and Domain driven design so please take it easy on me. I am designing a domain model that consists of PROJECT objects that can contain ISSUE objects that can contain other objects like NOTES and ATTACHMENTS. There will be times in which my application will need to populate each PROJECT object along with all related child objects. However, sometimes I just need to get a list of PROJECTS to fill a dropdown or list UI control. In this case I just need some basic PROJECT properties like name and ID. I think it would be too much overhead if I populated all child objects just to fill a list (especially if there are many PROJECTs). Shoud I create 2 separate PROJ ...Show All
Software Development for Windows Vista .Net 3.0 RC
Hi, I just installed the newly released " Microsoft Pre-Release Software Microsoft .NET Framework 3.0 - Release Candidate ". I want to develop using Vs.Net and find out a bit more about what can be done with this release relative to the WCF, Linq, ADo.Net etc releases as well as the Orcas release. In particular the Released Resources " Microsoft Visual Studio Code Name “Orcas” Community Technology Preview - Development Tools for .NET Framework 3.0R " goes to an invalid URL, so i'm not sure how to get Vs.Net support (there are no icons in there or WCF support in the context menu). Help much appreciated. steven http://stevenR2.com Thanks Marc. Looks like a busy week at M ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Frame Buffers
Sorry if this is a stupid question, but I am very new to C# and any type of Microsoft game development. (I come from a actionscript background, please do not laugh) Is it possible to draw onto a virtual frame buffer(I think that is what it would be) rather than directly onto screen For example, if I have a background set that is constructed from multiple sprites that takes quite a lot of processing power, can I draw this once onto a frame buffer and just reuse that frame buffer for proceeding redraws Any help appreciated! Regards: John Kris: Many thanks for your advice. I am not experiencing performance issues just yet, I was just exploring if this would be poss ...Show All
Visual C++ Reverse Engineering
How get the picture of class structure of VC++ code using visual Studio .net 2005 If this is managed code: use reflection. If it's native code, you cannot simply "get the picture", as there's no real way to translate machine code back to e.g. C++. Buy a good book on the assembly language ...Show All
Visual Basic DateTimePicker
I want to add a date time picker to a toolbar. What is the best way. I know I can just drop it on there, but it would cover up everything else I add to the toolbar Thanks Brian Hi, I think you may try to put a Button in the Toolbar, and put a Calendar control invisible. After the user click the button, you can show the calendar control. If you still have any concern, please feel free to post here. Best regards, Peter Huang ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D Modeling
What is the best free/cheap 3D modeler out there By best I mean a good combination of capable and easy. I have used Maya while playing with UT2004, but the free version won't export .X files. I have a copy of 3DCanvas pro, but I find it lacking somewhat. I have been using AC3D because it is easy and relatively cheap, you can download a 14 day trial. You can also look on TurboSquid and see if any of the models you need are already avaiable for free/cheap. ...Show All
Visual Basic Run-time exception thrown : System.ArgumentException - Cannot find the method on the object instance.
Hi, I have one of weirdest errors here... I looked for similar solutions for this error message, but this one is little diferent case... I have enum Public Enum myObjectState State1 =1 State2=2 State3=3 End Enum then in the class I have property Property CurrentState as myObjectState Get Return _syncState End Get Set ( ByVal value As myObjectState) _syncState = value End Set End Property Now gets interesting I have 2 diferent classes with diferent enums for states and for 1 of them myObject.CurrentState.ToString works just fine and for another it throw exception Run-time exception thrown : System.ArgumentException - Cannot find the method on the object instance. On object that ...Show All
SQL Server Percentage Format
I am trying to display a figure as a Percentage. The figure is 2.00000. I want it to show as 2.00%. When i go into the formatting i select P but it displays the figure as 200.00%. What formatting code should i use to get 2.00% Vijay, It seems that Duncan's values were already in decimal form and just needed to have 2 decimals and a % afterwards. Using the format code 'P' multiplies the value by 100, gets 2 decimals, and adds the % sign. The fact that it multiplies it by 100 is what was throwing off Duncan's values, and why we couldn't use the 'P' format code. Jarret ...Show All
SQL Server Problem using Reporting Services forms authentication with SSL
I am using Reporting services 2005 and have enabled forms authentication using the example found in: 'C:\Program Files\Microsoft SQL Server\90\Samples\Reporting Services\Extension Samples\FormsAuthentication Sample' This works correctly without SSL, but when I enable SSL I get an error when logging in. The symptoms are as follows. I can login to the reporting server (in my case <server>/ReportServer2) directory, but when I login to the report manager (in my case at <server>/Reports2) I get the following error: 'The underlying connection was closed: An unexpected error occurred on a send.' Can anyone suggest why I might be getting this error Thank you, Graham Please check your RSWebApplication ...Show All
SQL Server Adding expression in Data Flow Task
Hi I am trying to develop a data flow task in C#. I need to add an expression tab in the task where i can write expressions on the input columns and map it to outputs. Please let me know how to go about it. I am new to SSIS coding so dnt have much idea abt it. Thanks in advance, Vipul Vipul123 wrote: I am trying to build a task where i want to embed the logic of Derived column and Lookup in the same task. Also i want to hard code a particular table in the lookup. Its will be used to resolve the surrogate key in the facts for the dimmensions. Hope this makes sense. I didnt knew abt stock components. Thanks for the pointer. Please let me know if you have any more updates on this. Th ...Show All
Visual Studio Team System WebTest aborted
I had a rookie question: i record a web test; import a data source for 1000 keywords; select one run per data source row, then build the test project. After that i run this test, then the test will aborted without error message when several run passed. I tried it for several times, some time it will successful & some time it will aborted. How could i prevent it aborting. It is possible that you are running into the default test timeout. To change the timeout setting, follow these steps: 1) Oh the Test menu, choose Edit Run Configurations and then select the run configuration file. 2) Click Test Timeouts 3) Reset the timeout limits. Rerun the test ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Design Mode
I want to be able to dictate the order in which my components are drawn and updated. However, we are not allowed to change our ComponentCollection, and it has no concept of ordering other than the order in which things are put into it. What's the best way to deal with this Should I create separate components to manage all the drawing and all the updating, and just order the items in there, or am I missing something in the framework You might want to read this , especially the part about Game Components. ...Show All
Visual C# Unable to copy file during build
When I try to build my solution I often get this error: Unable to copy file "obj\Debug\MyProjectXXX.dll" to "bin\Debug\MyProjectXXX.dll". The process cannot access the file 'bin\Debug\MyProjectXXX.dll' because it is being used by another process. The project it's trying to build is a class library referenced by a couple of other projects in the solution. The solution builds fine the first one or two times after opening Visual Studio, but after that the only way I can get it to build is to restart Visual Studio. Any ideas what's wrong Thanks Great, the pre-build event fixed it! Thanks. Now what exactly is that command line doing PS. All references were done using ...Show All
