VahidJ's Q&A profile
Visual Studio 2008 (Pre-release) Working with a Canvas in Cider Designer
When working with canvasses in the Cider Designer, I can't select it to move it around, and I can't seem to drop anything on it, I have to add with XAML, and if add the items in that way, the items themselves are not moveable or sizeable. Is there a bug fix for this Thank you, Jaco There is currently no support for interacting with container controls other than the Grid. Much of the work we have done in previous iterations focused on improving the overall quality of the features (such as working with the Grid) in the CTPs. We have decided to remove some functionality that was present in previous CT ...Show All
.NET Development Binding a dropdown listbox
Im trying to bind a dropdown listbox with a table in SQL Server 7.0. Whenerver i use this code , i get value: "System.Data.Common.dbDataRecord". Following is my code : Sub Page_Load() Dim strSqlCities as String = "Select city from city" Dim strConnection as String = "server=Maxood;database=watal;user id=sa;password=;" Dim objConn as New SqlConnection(strConnection) Dim Cmd as New SqlCommand(strSqlCities,objConn) objConn.Open() cbocity.DataSource =Cmd.ExecuteReader(System.Data.CommandBehavior.CloseConnection) cbocity.DataBind() &nb ...Show All
Architecture Architecture to access userdater of multiply sources
Hi! I've got a architecture question, wich might by very special and complex: We are developing a product for utilities, wich can be used to track issues (gas, water, elctricity). We use a three layer Architecture wich is: - Top Layer: Web Client (ASP.NET) - Business Layer (Clases with multiply access methods: web service, remoting, direct access) - Datalayer (DAO pattern) The Problem is, that we need a common way of acessing persons, wich might be employees or external contractors. We want to be able to save a reference to a persone in form of a foreign key in our issue-entity. These refences to persons are used in many other entities, t ...Show All
Visual Studio Express Editions Absolute Beginner's Video Series: Download Files
Videos are good; I'm on lesson 5 . I'm a bit lost, but I'm getting some of it OK. But what are these "Project" file downloads They are .msi files and they openup to many more files. But there is no explanation as to what they are or how to use them Fore lesson 5 there is like 20 files total, most I can't open, and the ones I can make no sense. Please someone explain what an "absolute beginner "is meant to do here Also, any other recommended resources and perhaps some beginner exercises It seems right now I have to learn a whole bunch of terms and concepts before having a chance to understand or try an ...Show All
Visual C# Voice Chat,Audio Streaming
Hello everybody... I have a TCP/IP client/server chat application.I want to add voice chat feature to my application.What is the start point How can I implement this feature in c# How can I implement audio streaming in c# Please guide me. Note : My application works on LAN and is not on the internet. You can download complete source code and demo of my chat program from here. You need .Net FrameWork 2.0 http://www.codeproject.com/useritems/TCPIPChat.asp Best Regards, XironiX well i dont' know the answer to your question but i really want to see your TCP/IP client/server chat application so if you can send me ...Show All
SQL Server Report task?
Hello, I'm not sure if this one should be in this forum. Anyway... I need to build some reports in MS Word format. Is there are any way to do that It can probably can be done in Reporting Services, but how I can merge these two tools in one project (solution) for example Thanks. Seems too complicated and there is definately lack of info how to do that on practice. But thanks anyway. ...Show All
Windows Forms Collection Property
Hi all! I need some help adding a collection property to a control. I need this property to be permanent when the form is loaded at design-time. I've tried next code: private ArrayList _MiLista = new ArrayList(); public ArrayList MiLista { get { return(_MiLista); } set { _MiLista = value; } } this code works right until I ...Show All
Windows Forms Determine who is calling the object (Remoting)
Hello everyone, Is there any way the server can know the client's IP address that calling it's object. The client server architecture is implemented using .NET remoting.... string MyIPAddy = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"].ToString() ...Show All
.NET Development How to decrease Form startup time?
Hello, I have a .NET Form that displays the contents of a directory. It works fine, but it can take 5 to 10 seconds to start and display. If I close it and start it again, it starts faster. How can the Form start time be decreased so the Form displays faster Thanks Mister T Another possibility is this simply has to do with caching... When you do a cold start, everything needs to be looked up off the hard disk to memory, which takes quite a bit of time. Subsequent uses may take advatage of bits of that data persisting somewhere aside from the hard disk, also there could be code around ...Show All
Microsoft ISV Community Center Forums Getting Excel Formulas to work in VBA
I have formulas that need to be copied and pasted to the next row down from the original. The problem I ran into was when a formula that refrences some data on a hidden sheet tried to run it will bring up a dialog box wanting to know what file to use to Update the values. I need this formula to work without asking for updates. Here is the formula and the values it wants: Current Excel Formula = IF(M12 > 0, IF(M12 > 7630, ('Conductivity to TDS '!$C$3 * EXP((('Conductivity to TDS '!$D$3 - LN('Data '!M12)) ^ 2) / 'Conductivity to TDS '!$E$3)), ('Conductivity to TDS '!$C$4 * EXP((('Conductivity to TDS '!$D$4 - LN('Data'!M12)) ^ 2) ...Show All
Visual C++ "list iterator not decrementable", error.
I am trying to use some code written in C++, by a third party and I am having problems with the run time error: list iterator not decrementable I am using VS 2005. I have limited C++ experience by the way. This happens when an STL list, in decrementing backwards, pass the beginning of the list. I am told that the list is ‘Circular’, so this should not matter because it will hit the end of the list. This code has run on VS2005 before, by other parties, so I am a bit stuck! Any comments would be appreciated Julian Dear Jonathan and All, I'm not an adva ...Show All
Visual Studio Express Editions Adjusting the width of a ListBox to it's contents
VB.net Express I would like to adjust the width of a ListBox to the width of the largest item it contains. Is there any way to do so Thanks by advance for your answers, Pierre Leclerc Pierre, There must be a way to find the width of an individual item but I couldn't find it. Hopefully somebody else will read this and inform us both. In the mean time, I was able to get it to work with the following code. You will have to adjust your _factor variable depending on the font type that you are using. A factor of 6 worked for the default font. Private Sub Button1_Click( ByVal sender As S ...Show All
Smart Device Development Install Program pocket pc
Hello, I need to make a program to install my application, any one know how to do it VS 2005 supports setup and deployment projects. Try "Smart device CAB Project". Thanks Siva ...Show All
Visual Studio Cannot install VStudio.NET Pro 2003 (Student Software)
I am having one hell of a time trying to load VisualStudio.net Academic version on my Windows XP machine. I have a version of Visual Studio standard; however after talking to multiple students and professors they all recommend learning the differences and making the adjustment to .NET. I would love to do this but I can't install the darn thing. When the setup runs it requires me to install prerequisites. It doesn't install and says another application requires Windows to restart. I do, multiple times and it still gives me the same loop of crap. Any suggestions would be appreciated greatly! I think I found my solution, ...Show All
Windows Forms Saving a picture
I have a picture box that i can draw in using mousePath.AddLine This works well but now i need to save the image into a datadase. Can anyone let me know how to do this And what datatype in the database table should I use What about to save a document in the same table Great example, thanks. ...Show All
