Herru Perdana's Q&A profile
Visual FoxPro .
Looks like I'll end up writing your whole code step by step. Please create a new thread next time so others would also deal with your questions. oExcel = Createobject("Excel.Application") With oExcel .Workbooks.Add .Visible = .T. With .ActiveWorkBook.ActiveSheet .Range('A1:F10').Cells.Value = 'filledbefore' .Range("1:6").EntireRow.Insert Endwith Endwith ...Show All
Visual C# accessing VSS database
Hi I am trying to access VSS database , located on the server and I get an error message Database does not exits. private IVSSDatabase vssDb = new VSSDatabaseClass(); private VSSItem objProject; private void Page_Load( object sender, System.EventArgs e) { string path = @"\\dev01\VSS\General\srcsafe.ini"; string username = "admin"; try { Response.Write("<BR> " + path); Response.Write("<BR> " + username); vssDb.Open(path,username,""); objProject = vssDb.get_VSSItem("$/Framework", false ); } catch (Exception ex) { Response.Write("<BR>Exception error : " + ex.Message); } } //exception error: Exception error : The Sou ...Show All
Visual Studio Team System Feature Request - Build
CTP5 User To speed up loading larger db projects and enhance the development experience, it would be great to remove the automatic building of the design-time db when loading a project and/or editing and saving an individual schema object. It would be ideal to make this work just like a .NET class library project where loading the project does not automatically build anything, nor does editing a single class file automatically build anything. You leave the build/compile in the hands of the developer to hit F5 or Build/Rebuild the Solution or Project. You are right. We started implementing exactly that. The CTP5 perf refresh implements the start of design database caching, CTP6 will have a full imple ...Show All
Visual Studio Express Editions File Properties
I'm Trying to make a app that can change a files properties with the following code for applying the read-only property. It compiles and runs, but never changes the property... Any ideas The code for the button press is: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim filetoapply = "" If OpenFileDialog1.ShowDialog() <> Windows.Forms.DialogResult.Cancel Then filetoapply = OpenFileDialog1.FileName Shell("cmd.exe /c ATTRIB +r " & filetoapply & " /s", AppWinStyle.NormalFocus, False) Else filetoapply = "" End If End Sub Shell("cmd.exe ... A.K.A. DOS cannot handle spaces ...Show All
Smart Device Development NE2000 PCMCIA network adapter selection
Hello, I am trying to set up Pocket PC emulator for the internet connection without using Active Synch. I am trying following steps described in http://nino.net/blogs/nino/archive/2006/01/20/WM5EmulatorInternetConnectivityWithoutActiveSync.aspx But in my case I am having following problems: From Emulator:File -> Configure->Network I can check "Enable NE000 PCMCIA network adapter and bind to" but I cannot browse for the network adapters available. Is there any problem with my installation I can set the correct network adapter from Visual Studio 2005->Tools->Options->Devices->Properties->Emulator Options and then once I run the emulator I can find my selection in File -> Configure-> ...Show All
Visual Studio Team System TF30177 trying to create a new project
I've got a new install of wss 2.0 SP2, TFS 1.0 and I can't create new projects. I've walked through the doc and created the TFS accounts and made them members of the local admin on the server. However, I get the error when trying to create a new project. Error The Project Creation Wizard encountered an error while uploading documents to the Windows SharePoint Services server on CHEF. Explanation The Project Creation Wizard encountered a problem while uploading documents to the Windows SharePoint Services server on CHEF. The reason for the failure cannot be determined at this time. Because the operation failed, the wizard was not able to finish creating the Windows SharePoint Services site. User Acti ...Show All
.NET Development .NET and security - Why so complicated?
Lets say you write a nice .NET 2.0 windows form application. myapp.exe is it's name, and it references mydata.dll which is a class library that has a few classes and a user control in it. It is also written in .NET How would one address the following issues 1) ANYONE can take mydata.dll, open up VS.NET and reference it and use the controls and classes inside 2) ANYONE can simply decompile the IL from both the exe and dll back to almost original source code Now I know all about obfuscators, and people love to recommend them for such tasks like # 2 above, but how many people actually have used an obfuscator successfuly I have used the community edition one that is packaged with Visual Studio, however its rather limited, ha ...Show All
Visual C++ .dsw file association
We recently deployed MS C++ Pro 6 as an MSI to our engineers. We used to manually install this software. I have one engineer that whenever he tries to open a file with .dsw exentsion, Visual C repeatedly prompts for the correct file extension. We have checked off "open every file like this with this......" but it has not picked up that this is how to open these files. Anybody have problems with this Other engineers are opening these files fine and this engineer doesn't have any other program association problems. Try importing the following into the registry :- a.reg --------- Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.dsw\OpenWithList] [HKEY_CLASSES_ROOT\.dsw\Op ...Show All
SQL Server xblkld4.dll and SSIS....
I have created a VB.NET solution that includes a dll and a tester. The DLL has a refrence to a wrapped version of xblkld4.dll, which is created with TLBIMP, moved to the GAC with GacUtil and registered with RegAsm. From within the framework of the project everything runs smoothly, but when I try to use the DLL from within an SSIS script task I get the following error... [Void LoadData(System.String, System.String, System.String)] Error: Unable to cast COM object of type 'Interop.XBlkLd4.SQLXMLBulkLoad4Class' to interface type 'Interop.XBlkLd4.ISQLXMLBulkLoad4'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{88465BA7-AEEE-49A1-9499-4416287A0160}' failed due to the following err ...Show All
Visual Studio Team System Please do not RTM yet!!!
My biggest frustration when using VSTS for Database Professionals is that you still have to select one item at a time to skip if you don't want to migrate all changes. For instance, the "dt_" stored procedures don't do any good in my test or production environment and I have to click each one, one at a time, to skip them when scripting the differences between my local development copy and the test or production environments. A check box for each item, so you could apply a change to all selected rows at once, would sure help. I know you've heard this before. I know there are a lot of other problems that were identified very early on that have not been addressed as well. I guess I am just a little frustrated with the product ...Show All
Software Development for Windows Vista USB audio driver not enumerating under certain categories
Our USB Audio driver (USB audio/video composite device) loads in Vista RC1 (build 5728) but only enumerates under KSCATEGORY_AUDIO. (In Graphedit this means it only appears as a KSProxy filter under WDM Streaming Capture Devices) Under XP it also also enumerates under categories CLSID_AudioInputDeviceCategory & KSCATEGORY_AUDIO_DEVICE (So in Graphedit it additionally appears as a legacy QCap filter under Audio Capture Sources and as a KSProxy filter under WDM Streaming System Devices.) Since for purposes of audio/video synchronization our audio/video capture applications (and most of our customers' audio/video capture applications) rely on the QCap filter for audio capture to file (because it inserts timestamps into the audio str ...Show All
.NET Development copying files between folders on file servers
I'm currently doing a project and I want to look for filenames containing the value the user enters after clicking the submit button, and copy these files from one network directory to another network directory. I don't have a clue how to do this, can anyone help Sorry I don't really understand could you give an example, and they're not actually on a file server they're on a local network server, i.e. \\fileserver .... Thanks. ...Show All
SQL Server SSAS 2005. x86. Memory Allocation Errors during processing.
I have an AS2005 on x86 Box with 4Gb RAM with 2 Xeons 2,2Ghz. On the same box runs SQL Server - the data source for AS. If the cube is processed, i can't reprocess indexes and aggregation after dimensions update. I get permanent memory allocation error. The cube size is funny - only 3Mio rows in 13 artitions. Only thing what runs is to make cube unprocessed and full reprocess it. But it brokes one of the businnes requirements, that users can always query the cube with simple queries, though with 10% of performance. It might be the case of Analysis Server making wrong estimates of amount of memory its needed to complete the operation. Change MemoryLimitErrorEnabled server property for server to s ...Show All
.NET Development ASP.NET, low tier caching
Hi, I'm developing a web application that has a DAL and a BLL. The DAL is composed by a set of TableAdapters and typed DataTables. As the data displayed in the home page of the web application it's only changed once a month I want to cache some of the data. I've found some solutions about caching in the ASP.net server controls but that would signify an enormous dependency from the top layer to the lowest one. So, I think that the best option here is to cache de data in the DAL, the problem is that, as I use TableAdapters and DataTables the code is generated and Im not finding the way to accomplish my requirements using SQLDependencies in partial classes. Let's see if with some of your great advices I get out of this mess. T ...Show All
Visual Studio Express Editions My CD image of Visual c# express needs no registration but I want access to registration benefits
Hi, I want access to the visual c# registration benefits but I am not connected to the internet and cannot register my product why can't I just email with my msdn subscriber account etc and get microsoft to email me the activation number and how to get extra stuff like the ebooks which I really need to help me There have been a few posts regarding this. You do need to have a conection to register, and you do need to register to get the benifits... But as the cd install does not need to be registered, you can still hit the registration button and connect to the system, the only difference is that you do not get the reg key. But as you say you are not connected to the net, in this case you will not be able to follow the c ...Show All
