Merten1982's Q&A profile
Smart Device Development Cant connect to active directory server
Hello, I'm trying to get my application running on the device emulator for Mobile 5 to connect to an Active directory server on the network. The emulator is cradled, however, the application keeps failing on the ldap_connect call. I've always had a issue with the device emulator not finding any other machine or server on the network. Is there some settings that need to be done to get the emulator to connect to the LAN Thanks Amit I believe that LDAP uses UDP sockets to communicate with the server. Unfortunately, ActiveSync in the DeviceEmulator does not support remoting UDP packets. You can connect the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DrawIndexedPrimitives
I am going not so nicely nuts here trying to get an Indexed primitive draw working. I have code that works and happily draws a rectangular plane using DrawPrimitives against a TriangleStrip, this works great but I wanted to make a more complicated object so I thought lets make this work with indicies. I added a short array with the indicies in and set it all up to use the indicies based on my verticies and a Triangle List. Thing is it doesn't!! put drawPrimitives back in and it works fine. Thing is I even tried removing all the index values in an attempt to get the program to crash as no info would be found, but it doesn't! Actually ...Show All
Visual Studio Team System Some users can not publish test result: an unauthorized operation
When some usrs try to publish the test results, they are informed that it is an unauthorized operation and the publish can not be completed. I am the administor of the TFS. And when I do the same operatio, it succeeds. How to solve this issue Can you please paste in the exact error message you are getting There are a few different access problems you can have, and this will help me narrow down which one you're seeing. Thanks, Tom ...Show All
Visual Studio Tools for Office Changes to App.Config not propagating to runtime in Excel VSTO 2005
When I change a connection string in my App.Config for Excel VSTO 2005 the change is not being reflected at run time or in the debugger. Where is the runtime App.Config being kept It's not in the bin or obj\debug... My version also prompted me about updating the value in the .settings file and on the dialog it appears to have been changed but if you turn on show all files and check the actual method in .settings you will see that it has NOT been changed. It still picks up the value from the app.config file. ...Show All
SQL Server SqlDeveloper/SqlExpress Conflict.
Hi, Background: I'm on a Pentium 2.4 with 1024 mb Memory and 160 Gb harddrive, running XPPro with SP2. I started a project in VS2005Beta2 with Sql2005Beta. When the RTM versions came along I ungraded to VS2005Pro, and tried to upgrade the SqlDeveloper. This ran amuck, but I could still access my database, so after three attempts I gave up temporarily. When it looked as if I was actually going to finish my project, I decided to sort out my Sql. Still had the same problems, but found the Cleanup Utility, which did a great job of cleaning up the residual stuff in the registry. I downloaded SqlDeveloper, and ended up with file reference ...Show All
Visual Studio Tools for Office How to detect item class in outlook object model
I'm working on this outlook automation in visual basic and I need to dynamically figure out what type of folder (mail, contacts, tasks, etc.) the current folder is. I tried both olFolderInst.Class and olFolderInst.Items.Class and they always return the same value of olfolder and olitem respectivly regardless of what the folder is. How do I go about doing this Something like this should work: Outlook.OlItemType type = oYourFolder.DefaultItemType; switch (type) { case Outlook.OlItemType.olAppointmentItem; // We have an appointment case Outlook.OlItemType.olMainItem // We h ...Show All
Visual Studio Team System Synchronized users in a loadtest
I'm running a loadtest containing one webtest with 25 users. The webtest includes a Login, some selections on the website and finally a Logout, all with some think time in between. When I run the loadtest all users login at the same time and then continue to work more or less synchronized during the whole test. Is there a way to spread the first start of the users over e.g. 1 minute to get a more realistic load on the web site Sure - you can specify a Step Load Pattern to increase the user load at whatever rate you desire rather than a Constant Load Pattern. The Step load profile can be chosen in the Load T ...Show All
SQL Server VS2005 Beta2 - Send updated DataTable to SQL
Not sure I'm doing this correctly. It isn't working. I'm importing a text file via ftp, parsing it, adding each parsed line into a strongly typed dataset/datatable and then trying to insert the dataset into an sql table. The TableAdapter generated a Select and Insert method (as Text Commands) when I initially created it, but no Delete or Update Commands were created (even though there is an Update Method available, that came from where, I don't know.) The InsertCommand text looks like this: INSERT INTO [dbo].[Info] ([CompanyName], [CIK], [FormType]) VALUES (@CompanyName, @CIK, @FormType) I created a separate SQL InsertCommand ...Show All
Software Development for Windows Vista Best archtiecture for long runnig workflow?
Hello, I'm still not came over a good example for long running workflows with human interaction and don't see clearly the best architecture for it. Would a Windows Service be the perfect host It should contain some Webservice interfaces. Especially the one to start it with. Greetings, Andreas Can you give me a bit more information on what you are trying to do StateMachines can be run with Long running workflows, even to web services. ...Show All
Visual Studio Express Editions DLLs in VB Express
Hi All! I want to add security feature to all my applications/projects. I mastered this security feature in VB6.0 It basically gathers information about the machine my application is being deployed on and generates an Installation ID for the application. The user then sends me this Installation ID and requests for the activation code. My security program generates an activation code based on the supplied Installation ID. The application remembers this Activation Code and verifies it every time the application is launched. Now, I want to be able to hide the code of the modules which verify the Activation Code, just in case my code is ...Show All
Windows Search Technologies Configure search locations programmatically
In our application, we want to exclude some by-default-checked locations (i.e., some special PST files listed in the profile), we also want to include some folders on the hard disk. This can be done through the WDS options dialog. But we need to do it at background, a.k.a., programmatically. Is this possible So far we found that following registries may be related: HKEY_CURRENT_USER\Software\Microsoft\RSSearch\Gather\RSApp\MyIndex\Sites\LocalHost\Paths HKEY_CURRENT_USER\Software\Microsoft\Windows Desktop Search\DS\Index\Rules But we are afraid that directly deal with registry may require restart WDS, and it may also mess up WD ...Show All
Windows Forms Null values being displayed
Is there a way that null values are not displayed in the datagrid i would like nothing be displayed rather than (null) when the field contains a null value. Create a TableStyle for the datagrid. Once you map the TableStyle to the source and then map Columns in the TableStyle, you can set the property on the TableStyle column& ...Show All
SQL Server SP Error Handling and Try/Catch
I'm looking for a discussion of the pros and cons of using TRY/CATCH as an error handler in a standard fashion with Stored Procedures. I've been using SQL Server for some time, and am accustomed to an approach of error handling in SPs that returns control from an SP via a common exit routine. Has anyone defined an approach they would consider sharing I realize that the reasons for standardizing on an approach includes requirements to your specific situation, so there are likely no perfect answers. I understand the basics of TRY/CATCH in SQL Server. Specifically, I'm looking for an approach where a c ...Show All
SQL Server What does "Lock Denials" mean in Analysis Services
Dear Anyone, Theres a counter in perfmon called "Lock Denials" under the Analysis Services counters. What does it mean if you get counts under this. Our server seem to be getting about 4 or 6 during heavy processing time of cube partitions and dimensions. Thanks, Joseph Internal processing operation is trying to acquire a lock. If it is denied of so it will probably wait and will try to acquire it again. You can try and reduce number of processing operations. Or try and lower the CoordinatorExecutionMode Analysis Server property for it to execute less jobs in parallel Edward. -- This posting is provided &qu ...Show All
Windows Forms The use of the .NET Framework Printing classes is not supported from a service
The use of Printing classes is not supported from a service in Framework 1.0, is this fixed on Framework 2.0, where can I fin information about it thanks I have a Windows Service that uses printing classes (System.Drawing.Printing), it works fine but I found this article http://support.microsoft.com/default.aspx scid=kb;en-us;324565 where it says that printing from a windows service is not supported using .Net Framework printing classes Any help Thanks ...Show All
