Alibong's Q&A profile
.NET Development Unable to Connect With localhost via FTP (.Net Fremwork 1.1)
hi, i m tring to connect with localhost via FTP to upload files in my project folder. but i can't do that. don't know much to connect via FTP. can any one help me... i also want to create a windows application in vb.net(.Net Fremwork 1.1) to upload files on server.... for that i want to connect with localhost first.... do reply please.... thanx in advance, vatsal. ...Show All
Visual Basic Call EXE method from DLL
Hi Is there a way that I can call a method in an EXE (managed code, VB.NET) from a .NET DLL by passing a reference to the instance of the EXE Multiple instances of EXE might be running and loaded in memory and I need the DLL to invoke a method within the running instance by passing a reference (such as the application title, window handler etc). In case you are wondering why the DLL is calling the EXE method and not the other way around, it is because this DLL is like a wrapper class and the method that invokes the method in the EXE is actually called from an Access VBA module. TIA It sounds to me like you have a model where you have 1 long lived instance of your application that needs to do work, and several other short- ...Show All
Visual Studio Team System What three improvements would you suggest for DBPro setup process?
1. Data Generation: To allow for "Test Data AS IS" to be Checked-In, Checked-Out, Shelved and Deployed- similar to Data Generation plans. Thanks, If you think about Data Compare and its ability to generate data diff scripts; and imagen you make this part of the build system, so you can generate a data diff script as part of the build; how much would that address your needs So you would keep the source data inside your project. During build we would compare this data with the target, the same way would do this for schema and generate diff script Deployment would execute the data diff script The result being that you have updated the information inside the table on the target ...Show All
Windows Forms Form question
ok, I have a button in form1 that opens form 2 once form2 is open can I make it so the button can't be pressed while form2 is open Then how do I get a button that is in form2 close the form2 Thanks You can do this by creating a couple of properties and methods on the two forms, like the following: public class Form1 { public void Form2Done() { OpenForm2Button.Enabled = true; } private void OpenForm2Button_Click(object sender, EventArgs e) { OpenForm2Button.Enabled = false; Form2 form = new Form2(); form.OpeningForm = this; form.Show(); } } public class Form2 { public Form1 OpeningForm; private void Form2_OnClosing(object sender, EventArgs e) { if (OpeningForm != nul ...Show All
Visual Studio Team System Dealing with tiny C drive
I have a server with 1 Terabyte of Disk space, 11 GB of which is allocated (7.5 GB currently available) to the C Drive. I need to install SQL 2005 and all goodies plus Team Foundation Server and other software "without filling up the c drive". I have never been successful with a configuration like this as a lot of space on C is taken regardless of the selected install locations. 1. Is allocating disk space with this little left for C a standard practice for a general use server 2. Is there a white paper somewhere that indicates how much space is required to be free on the OS drive for Team Foundation Server and SQL Server 2005 I have looked at the installation requirements and have only found general disk space requireme ...Show All
Windows Forms ToolStripStatusLabel properties
I'm using a ToolStripStatusLabel and it doesn't seem to have all the properties that a normal label does. For example, AutoEllipsis. I need that property for the StatusLabel control. Am I just not looking for the right property If the text is too long, I need to add an ellipsis and I'm hoping I'm not going to have to figure it out manually. Any help is appreciated. Thanks! Ya-Tin Yeah, but I need the label to be fixed size and to have an ellipsis at the end for longer strings. I ended up replacing the ToolStripStatusLabel with a standard Label, and it seems now that the letters are squished after a certain point. Has anyone come across this ...Show All
Smart Device Development SQL CE fails after hibernate.
Good afternoon. My development stats are VS2005 SP1 (problem still ocurred with no SP), WM 5.0, .NET 2, Symbol MC70 device. My application opens and keeps open a connection to an onboard SQL CE database. I chose not to simply open and close the connection with each request as I have two threads, UI and worker, which both access the same DB through the same open connection (and there can only be one open connection on an SQL CE DB). Changing this behaviour is unfortunately not an option (and I hope this doesn't cripple me!!) The problem is that if the device hibernates and wakes up, the very next call to the Read() method of an SqlCeDataReader throws an exception. The (very helpful) error message is "Unspecified Error". I have add ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GameComponent Designer Kludginess
Unless I'm missing something, I don't see how to explicitly control the order in which components are updated/drawn except for the order in which I drop them (you have to render the HUD last for example). Maybe I'm misunderstanding the intent of the GameComponent concept, but in a larger project this is going to be hard (kludgy) to deal with. Suggestion (unless I missed something): Add an order property to the GameComponent class, a collections box somewhere so that the order can be specified, and then sort at startup. Yeah, I thought of similar things for my own projects. However, the trouble starts when one wants to use other peoples components. Stuff would have to get modified (so if you want to update to a new version of the com ...Show All
.NET Development Short Cut to my application running in the System tray
Hi I have an VB.Net application running in the System Tray and I have a function in the appln. I need to invoke the function irrespective of the application which is active by assigning a global shortcut or a hotcut key. How to assign a global shortcut or a hotcut key. Hi, Here is the code. This is a simple application which takes text from clipboard and writes it to the notepad. Process application does, Get text from clipboard Start notepad process Get the window handle of notepad Get the handle of editable area from notepad Write the text to the notepad which we copied from clipboard BEFORE YOU START THE FOLLOWING APPLICATION, COPY SOME TEXT FROM ANYWHERE SO CLIPBOARD WILL HAVE SOME DATA THAT OUR APPL ...Show All
Visual Studio 2008 (Pre-release) "Trust not granted" message for Everything permission set
Hello, My WPF web browser application needs some additional permissions for execution (some of security and reflection permissions). I added them on the Security page of project in Visual Studio. I published my application on IIS web server on my computer. I had to modify Runtime Security Policy in order to execute my application. I created a custom permission set on basis of the LocalIntranet permission set and added required additional permissions there. I set my custom permission set for the LocalIntranet zone and my application began to work after that. But when I set the Everything permission set, "Trust not granted" message is shown. Could you explain me why it happens Everything permission set includes more p ...Show All
SQL Server KPI Visualisers
Hi there, We would like very much to define and manage our KPIs through AS2005's KPI repository. We would like those KPIs to be visualised with some sort of sweet looking gagues, like the ones available from Dundas. http://www.dundas.com/Products/Gauge/RS/index.aspx However, I can't see any reference to using this product to connect to KPIs that have been centrally defined. Instead, it looks to me like you have to do all the " If actual > budget then 1" sort of logic all over again, within the gague - i.e. at the presentation layer, which seems fundamentally flawed to me. Am I missing something Has anyone used any of these sort of visualisation tools to connect direct to AS2005 KPIs ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Fast creation of random numbers?
Hi! Is there already an easy way to get random numbers like in the old sample framework of DX or should i use the dxmutmisc.cs for that best regards Make sure you give it a suitably random seed too. I found some repeatability if the Random() class was not seeded - as strange as that may sound; this was in .NET 1.1 mind... Something like new Random((int)DateTime.Now.Ticks % Int32.MaxValue); always works well for me. ...Show All
Visual Studio Catastrophic Failu Visual Studio Crashing like crazy!!! WHAT IS GOING ON!!!
I reinstalled my whole damn operating system thinking that I had broken visual studio somehow... it turns out that was a collosal waste of time... I have a fresh clean windows xp pro sp2 install, and a clean Visual Studio Professional... and whenever I add a dataset to a project, and right-click the designer and hit "View Code", I get this horrifying error: Failed to view the validation code because of the following error: Catastrophic failure (Exception from HRESULT: 0x80000FFFF (E_UNEXPECTED) and it gives me a blank document. If I click the button to Save All open documents, the whole damn program just crashes!! I've submitted the error reports, but that's not going to help me fix the problem... what is goi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Availability of console SDKs
Hello, I know that this question might be a bit off-topic in this forum, but I think this is the best place to get the answer. I've always been wondering, why the SDKs for gaming consoles are only available to large companies which are charged large fees for the SDKs. I mean: Shouldn't it be in the interest of the console publisher to make it possible to develop games for it for as many people as possible, considering that every game increases the popularity of the console So, I'd be thankful if someone could explain this situation to me. Regards Opfer Well, I can guarantee you that at least one developer won't be going that route! ...Show All
Visual C++ MFC8
hi i am programming with vc++ express and i have MFC4 and i am looking to upgrad to MFC8 .is that possible and how Search for WTL (Windows Template Library). It is a free download - I think on sourceforge. You should find a bit of documentation and samples on there too. Some guys at ww.codeproject.com have also some samples, tutorials or enhencements. -- SvenC ...Show All
