efratian's Q&A profile
Visual Studio Express Editions Name of user control
Why does this return an empty string when used in the same user control class Private CaptionString As String = Me.Name Later in the same class, CaptionString returns an empty string. In VB6 I used the Extender object to retrieve the name of the control, but the code above doesn't work. It will only return an empty string when I really want e.g. Button1, Button2 etc. Add this code: Private Sub button_Load( ByVal sender As Object , _ ByVal e As System.EventArgs) Handles Me .Load CaptionString = Me .Name End Sub ...Show All
Visual Studio Express Editions No C# Support in Visual Studio
OK, I installed Visual C# Express 2005 on Windows Vista RTM. I installed SP1 for Visual C# Express 2005 I installed the Vista Update for Visual Studio 2005 SP1 I'm launching Visual Studio with "Run as adminstrator" But there is no way for me to create a CS file. In fact, it doesn't look like there is any C# support at all in Visual Studio. What's going on I figured it out. The installer did not put Visual C# in my start menu, there was just Visual Studio - which I kept launching. I had to go into C:\Program Files\Microsoft Visual Studio 8\Common7\IDE and find the VCSExpress application directly and put a shortcut on my desktop. I suppose this could have been integrated a ...Show All
.NET Development Compatibility
Hi, I want to know whether vs.net 2005 application will run in .net framework 1.1 (are they compatible ) Regards, Durga. hi, So the work around u have mentioned is not possible if the client only has .Net framework 1.1 installed in his machine and not the visual studio 2003 (hope u got wat i mean, i.e., only the framework for executing the program). Durga. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How has a Physics GameComponent?
I'm looking for a simple .NET physics plugin for doing 2D physics while I'm using XNA; any suggestions The first simple XPA demonstration are avaliable. here is a screenshot ... ...Show All
Windows Live Developer Forums Help developing my own Alerts like the MSN IM Live Alerts
Hello, I am very interested in developing my own Windows Alerts just like MSN IM Live Alerts (The alerts that slide up from the bottom right of your screen). I developed a Ticketing System and thought a windows alert would be great instant feedback to the user. (A new ticket was assigned to you, There are 10 new tickets in queue) I built an email and txt message notification system and would like to add this option. I am looking for development docs on how to access or build those alerts. This is different than a notification icon in your try with baloons that show up. Can anyone point me in the right direction I dont necessarily want to use the MSN SDK because not everyone has MSN. (But I could make it required ...Show All
Visual Studio Express Editions some questions again
1) i want my program to cover everyones screen full, i could use the windowstate maximize for that but what i want is that everything scales with the size of the form, i hope u understand what i mean 2) how can i get/put data from/in a dataset with coding thx in advance ahmedilyas wrote: 3rd party control - someone else's control who's made a function to do what you are after, like a plugin or something. not quite sure I understand your last question ah k hmm with the combobox, is it possible to just let the combobox 'seek' what youre typing would be good enough ...Show All
SQL Server HELP! I've lost a SSAS "cube" due to a "File ==> Save as XML"
Then, the cube name became XML, listed under the "Assemblies"... and, then made the mistake of "deploy-ing"... and of course, didn't have a backup... It appears all of the recent "calculations" added to the cube are contained within the xmla file, yet the cube still looks like it is missing from the VisualStudio 2005 (VS2005). Over in the SS Management Studio (SSMS), I tried wrapping the "Alter AllowCreate..." around the cube XML, and that seemed to work, so that now the Cube appears within the SSMS... However, I can't seem to find a way to open it up with VS2005, and see the cube name/measures, as I can see them within SSMS... Thanks in advance for your help! Thanks... I had proceeded to ...Show All
Windows Forms VS 2005 Setup for deploying SSIS Packages
I need to deploy some SSIS packages onto a remote Integration Server machine. Hence I wrote a VS 2005 Setup with Custom Action (C# Installer class) which uses the SSIS DTSX Dlls to deploy the Packages onto an Integration Server. I am shipping all the necessary DLLs in the MSI itself, so that the MSI can run on any client machine having just .NET 2.0 Framework installed. When I run the Setup on a Machine having Integration Server, the Setup works fine and the Packages are deployed. However, if I try to run the MSI on a machine which just has the .NET 2.0 Framework installed, I get the following error. SqlServer.DTS.Runtime.Application could not be created. Retrieving the COM class factory for component with CLSID { ...Show All
SQL Server Multiple join between two tables
Hi, I have two tables, let's say "Main" and "Dictionary". The Main table has several fields that point to records in the same dictionary table. Because of the multiple joins I couldn't get any results if I use an expression like: SELECT Main.ID, Dictionary.Text AS Data1, Dictionary.Text AS Data2 FROM Main, Dictionary WHERE Main.Data1 = Dictionary.ID AND Main.Data2 = Dictionary.ID What kind of join expression should I use I have to generate this expression programmatically, so it's quite important to keep it as simple as possible! Thx! Ors You haven't provided DDL or sample data, so it's quite difficult to understand you ...Show All
Software Development for Windows Vista While loop only executes once
Hi I want to use the While activity in a workflow I'm developing, however I have the following problem. The the first time the while loop condition is evaluated it returns true so the contained activity should be executed (I have a code child activity that just writes to the console). However the code activity is not executed. The workflow is persisted and then nothing else happens. I've been looking at the WhileAndParallel sample program to see if I'm missing anything. This runs fine as supplied. However if I move the workflow into my host and execute it there, the same thing happens - the loop condition evaluates to true and then the child activity is not executed. Is there something obvious that I could be doing in my host t ...Show All
SQL Server Access functions to SQL Server
I'm upsizing MS-Access to SQL Server 2005. I need to convert the following functions: TRANSFORM PIVOT FORMAT MID Are there any similar functions in SQL Server Also I have a query as follows: SELECT Mid$ ([AccountNumber], 3 , 8 ) AS [Account#], Format ([checkamount]* 100 , "000000000" ) AS Amount, IIf ( IsNull ([statusdate]), " " , Format ([statusdate], "yyyymmdd" )) AS [Date] FROM tblResult; How do I convert this in SQL Server query Here's the schema and query: tblResult [Autonumber] = <int> ,[AccountNumber] = <varchar(50)> ,[CheckNumber] = <float> ,[CheckAmount] = <money> ,[CheckDa ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HELP! sampler state not being set inside fragment file
I am having a horrible time trying to get simple mag and min filtering working when using fragments. Basically i have a pixel sahder that does nothing but apply a texture. In the application, i set the texture by looking for a sampler object in the shader constant table and then retrieving the correct stage from the sampler register index. I have a typical sampler state block set up inside of the fragment file and yet no filtering is applied. I am using the fragment linker and i have also tried setting the sampler states via fixed function pipeline. Any help would be greatly appreciated as to why this is not working. Yeah, I am not using any floating point textures and the card definitely supports texture f ...Show All
.NET Development How to get headers only from column names but not value from sql statement?
Hi all, I was looking to construct an sql statement so that I can have only the columen names as a header but with no data. I have tried like this and it is working. But I don't want to give value like "-1". sqlStr = "SELECT FullGrantNumber, FY FROM Grants WHERE SerialNumber= -1; This statement is giving me the two column names without any value but I don't want to use -1. The data type is int. Is there any other way to achive the same Thank you in advance. HI, Why do you want this Do you want just to get the Headers and place it in a datatable If so, you can use the FillSchema methid of an adapter: SqlDataAdapter adapter = new SqlDataAdapter("SELECT * FROM myTable", conn); DataTable dt = new Da ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Orthographic UI
So...in OpenGL I would use glOrtho(0,1,1,0,0,1) before processing my UI draw calls to set up my screen to be: 0,0 . . 0,1 . . 1,0 . . 1,1 that way, I could tell a UI component to be at 0.1, and it would make it so at any aspect ratio, any resolution, that UI component would always draw 10% to the left of the side of the screen. I want to do something similar to the UI system I'm working on for XNA, but I'm not sure how to setup the XNA camera to switch to an Orthographic projection before I process my UI components using the sprite batch. Anybody know Yeah I can. I was just hoping to keep the mouse units constant. That way people don't really need to know that the mouse press came at 10,10 based on some ...Show All
Visual C# panel.visiable's problem..I've to double click then it works
// in my webpage I put my controls in a panel , when page load I set panel.visable = false. only when botton_click and then panel.visable=true //my problem is panel doesn't appear when I click once. I've to double click and then panel become visiable.. what's going wrong is my problem concern with "post back " I've no idea... P.S... I write panel.visiable while datareader.read() thanks hm.. that's what I did .. I set protected void Page_Load(object sender, EventArgs e) { PanelYes.Visible = false; PanelNo.Visible = false; } // if member found protected void btnS(object sender, EventArgs e) { if (dr.Read()) { Panel1.Visible = true; ...Show All
