Korey Atterberry's Q&A profile
Visual Basic Form load offset
I simply want Form2 Location when loaded to be offset from form1. I can't seem to figuire this out. I got this so far. Private Sub btnNEW_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNEW.Click Form2.Location = Me.Location Form2.Show() End Sub This works but I want form2 to be offset a distance of 200 for both X and Y locations of Form1 ...Show All
Visual Studio How to add COM component into Toolbox in Visual Studio 2005?
Hi all, Does anybody know, how to add COM component into Toolbox in Visual Studio 2005 It is simple in VS 2003, but in VS 2005 added component is hidden and isn't appeared at all, until I choose "Show All" from popup menu. Please, help me :) Thanks! Sorry I didn't reply sooner, George. For some reason the web site didn't alert me that there was a response on this thread. Anyway, what I meant to ask is whether the designer you had open at the time was the text editor, the Windows Forms designer, or something else This is how the toolbox determines what controls should be enabled. -Josh Stevens VS Core IDE team ...Show All
Visual J# Importing external jars to use in J#
Hi, I have an external jar library that I want to use within the Visual Studio J#. I want to instantiate a class from the external jar into one of my J# classes. How do I do that I don't seem to find a way to import the external jars. Any help will be appreciated. Thanks Visual J# is compatible only with JDK 1.1.4. See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1154017&SiteID=1 . ...Show All
SQL Server Import/Export data with SQL Server 2005 Express
Hello folks! I have installed SQL Server 2005 Express and SQL Server Management Studio Express. Everything looks ok and works fine, but I can't find the Data Import/Export Wizard. Can anyone tell me how to Import/Export data Thank you!!! Hello Everyone, Just after reading this form, I tried out some import/ export operation like below SQL 2000 - SQL 2005 Express (Import/Export) Excel - SQL 2005 Express (Import/Export) It worked out very fine. I just used the DTS in SQL 2000 to do this. Any comments on this. Thanks Swami ...Show All
Visual Studio Team System Cannot access the 'Reports' folder in Team Explorer
Hello, I cannot access the 'Reports' folder in Team Explorer; it has a red cross on it. I'm a Project admin, Team admin, and Reporting Services admin (as set in the Reporting Services Site Settings, site-wide security settings). This doesn't happen for users that are local admins on the server OS (which is Server 2003), but surely there must a better way best regards, /Tomas Ya.. you are right..it doesn't mean you should be the admin of the local computer ....can you please check out from the client side ...whether you could able to see the reports folder.. Also check whether you could able to access the following URL. .. http://<TeamfoundatioServerName>:8080/ReportServer/Pages/ReportViewer.as ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Models with repeating UV textures
I used Maya 7 to create a basic model of a box and then applied a file texture to it. I set the UV repeat settings so that it would repeat and it looks as I want when rendered in Maya. I then exported the model to a FBX file but the texture doesn't repeat when displayed in my game, it is stretched hideously across the whole object. Is there something I'm missing I'm just doing a basic model display. I imported the model into 3ds max and it looks fine. Can anyone offer any hints Thanks, Adam FlatSurfSucks wrote: Thanks for the tip but the link just gives an error (no permission, even when logged in) Yeah, you have to register and reque ...Show All
Visual Basic Clock in VB
Is there a clock that i could put into my program, either one that is already done or one tat i have to code This will display a running clock with the date and time in label1 Private Sub Timer1_Tick ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Timer1 . Tick Me . Label1 . Text = CStr ( Now ) End Sub Private Sub Form1_Load ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Me . Load Me . Timer1 . Enabled = True Me . Timer1 . Interval = 1000 End Sub ...Show All
.NET Development Datatable value not displaying!!!
Hello, I'm new to ado.net. Here is the code which i use to declare the dataTable: DataTable dtable = new DataTable ( "dtable" ); dtable.Columns.Add( "SID" , typeof (System. String )); dtable.Columns.Add( "givenName" , typeof (System. String )); dtable.Columns.Add( "sn" , typeof (System. String )); dtable.Columns.Add( "mail" , typeof (System. String )); dtable.Columns.Add( "tel" , typeof (System. String )); dtable.Columns.Add( "mobile" , typeof (System. String )); dtable.Columns.Add( "office" , typeof (System. String )); and here is the code for adding a new row. for ( int i = 0; i <src.Count - 1; i++) { DataRow tempRow = dtable.NewRow(); tempRow.ItemArray[0] = SID[ i ]; tempRo ...Show All
Smart Device Development Error in DateTimePicker
I want to show a dialog (or message box) in the DateTimePicker ValueChange event. The problem is that if the Month Calendar form of the DateTimePicker control is open it is shown on top of all windows even on top of my dialog or Message box . and more it acts like I keep clicking on its button (that caused the Change value event) so it keeps sending me sometimes hundereds of events and also its value changes. Is there a way to solve this problem. I just came across this one, here is what I would do. This is not the way it should have to be done but sometimes...... Create a user control that mimics the date time picker and show it when a combo box with the date is clicked, you can then have a messagebox or even a c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Get Screen Coordinates of Vertices?
Hey, I'm looking to obtain the screen (X and Y) co-ordinates of vertices. Whenever I move my mouse over a vertex I want to change it's color, but don't know how to compare the mouse position with my vertices. Any suggestions Thanks Hello, Perhaps you should obtain the vertices rendered on some X,Y screen coordinate instead of obtaining the ScreenX, ScreenY coordinates for all your scene's vertices. DirectX does this for you and calls it picking . As far as I know there is no such feature in XNA yet but here's a good tutorial on the subject: http://www.thehazymind.com/archives/2005/10/tutorial_9_picking_objects_fro.htm Cheers Joao Nogueira ...Show All
Visual Studio Express Editions wide characters in program
#include "stdafx.h" #include <iostream> #include <string> int main() { std::cout << "Please enter your first name: "; std::string name; std::cin >> name; std::cout << "Hello, " << name << "!" << std::endl; return 0; } wchar_t where do i put this in for wide characters like japanese thanx first step response #include "stdafx.h" #include <iostream> #include <string> int wmain() { std::wcout << L"Please enter your first name: "; std::wstring name; std::wcin >> name; std::wcout << L"Hello, " << name << L"!" << std::endl; retur ...Show All
.NET Development System.Diagnostics.Process.Start not work with IIS, but on ASP.NET Development Server (Please help urgently)
Dear all: I am using VS2005 C# and testing on my local XP Pro PC with local IIS, I have wrote a web service to call a third party software .exe file to use CSV file to insert data in its OLEDB database, which use System.Diagnostics.Process.Start . The same codes did work when I use VS2005 build-in ASP.NET Development Server( http://localhost:2999/MyServices/MyServices.asmx ). but when I use IIS normal URL( http://developer/MyServices/MyServices.asmx ) to run Process.Start on the web service, it just haunlted and not doing anything. So I put the kill statment to kill the process after 1 mins, however, the process stopped, but did not do anything. T ...Show All
SQL Server Exporting To .xls
I did a move of reporting services to another server. This was a problem before but someone else figured it out. I have a report which should be around 6MB (it was on the other server) but it exports to .xls at 67MB and will not open in Excel. When I download it as .csv it is about 3-4 MB. I seem to recall something related to headers causing the problem. But that could have been another issue. Please give me any suggestions. I have some other reports which download, slightly larger than I think they should be but they work in .xls. I'm not aware of anything that would increase the size of the report simply by moving to another server. For the difference in size between XLS and CSV, do you have a lot of images or charts in the report ...Show All
Visual C++ ManClass.obj : error LNK2028: unresolved token (0A0004BC) "public: __thiscall MyMathFuncs::MyMathFuncs(void)" (??0MyMathFuncs@@$
Hi I have trying to build a managed class wrapper for experimenting with native code and getting this error , I have included the lib file and the settings pull in the header file. ManClass.obj : error LNK2028: unresolved token (0A0004BC) "public: __thiscall MyMathFuncs::MyMathFuncs(void)" ( 0MyMathFuncs@@$$FQAE@XZ) referenced in function "public: __clrcall MathFuncsWrapper::MathFuncsWrapper(void)" ( 0MathFuncsWrapper@@$$FQ$AAM@XZ ) ManClass.obj : error LNK2019: unresolved external symbol "public: __thiscall MyMathFuncs::MyMathFuncs(void)" ( 0MyMathFuncs@@$$FQAE@XZ) referenced in function "public: __clrcall MathFuncsWrapper::MathFuncsWrapper(void)" ( 0MathFuncsWrapper@@$$FQ$AAM@XZ) Here is ...Show All
SharePoint Products and Technologies Synchronization exceptions filling up production server log
Recently, we started getting "Synchronization exception occured" events added to the log from SharePoint Portal Administration every 30 seconds on our production SharePoint server. The data for the event translates to roughly: AppDomain: spsadmin.exe System.Data.SqlClient.sqlException: Procedure or Function 'proc_GetVersion' expects parameter '@VersionID' , which was not supplied... at Microsoft.SharePoint.Portal.Data.a.c(SqlCommand A_0, Boolean A_1).. at Microsoft.SharePoint.Portal.Data.a.c(SqlCommand A_0, Boolean A_1).. at Microsoft.SharePoint.Portal.Data.a.b(SqlCommand A_0).. at Microsoft.SharePoint.Portal.Data.A.b(SqlCommand A_0).. at Microsoft.SharePoint.Portal.Topology.Database.a(a A_0).. at Microsoft.SharePoint.Portal.T ...Show All
