MyLady's Q&A profile
.NET Development Remote Connect to MS Access DB using a static IP
I am working on a project in VB.net where I have to connect to an MS Access database that is located on a remote computer and I have to connect to it over Internet using that computer's IP Address. Any ideas how the connection string should look like I tried to connect to the computer by going to Start >> Run and then ran the command \\xxx.xxx.xx.xxx but it says the computer cannot be found. Is this because I'm not on the same network as that computer How will I be able to achieve the connection and be able to access the database All Dot net gurus, I will appreciate your replies. Thanks Krish. Hi Krish, ...Show All
Software Development for Windows Vista "Tracking workflows which are already tracked" - Problem
Following screnario: I have business objects of the type Order and OrderItem. For each of these a workflow is started. I use the SqlTrackingService, so running workflows get written to the db, and I am able to track them with the WorkflowMonitor (included in the Windows SDK I think). If such an Order- or OrderItemWofklow gets aborted or canceled the chance of restarting the workflow with the same objects is still present. The only problem is that the Guid of the started workflows was chosen by myself to be the same as the Order / OrderItems. But if a workflow gets aborted, or canceled, it is still in the tracking database. And when ...Show All
Visual Basic Setup & Deployment Need Help !
I need to create a setup project, that need to first read the registry to get the application path of the other software, and use that path as my default installation path. Struggling with this, really need help. I have create a module that return the function to get the path from registry. I want my default installation path automatically changed to the one read from registry, instead of c:\Program files\app How am i suppose to pass this path value to the installation project does anyone have any idea thanks Regards David Arh..you are genius. I search through all the MSDN and didnt find this articles. This is exactly I am looking for. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Scene data
Hi, Does anyone have any tips on how to run through scene-data. I've noticed that the data has to be 'tree-like' because you have objects, groups of objects and groups within groups. For example, if I have the text - 'This' in my 3d scene, all the letter objects are in a group (with a common origin), and the 2 parts that make the 'i' are in a group that is within the group. I had a good idea of writing a function which runs through the data, and when it comes across a group of objects - it calls itself . This works well with tree-like data. However, I'm not sure if the processing that goes on when a dynamic function ...Show All
Architecture Entity Aggregation in the BLL/DAL world
Hi all, I've started to read the paper about entity aggregation ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnbda/html/dngrfSOAChallenges-EntityAggregation.asp ) and I've started to wonder - In layered service programming, where you have the service interface, the business process, business components and data components, we sometimes want to do an aggregation of entities (for example - an order might contains the order and order line details, but might also contain customer information, history of shippment etc.), each of them handled by it's own business component and data component. So if I want to create a se ...Show All
Windows Forms help with Saving Files and Folders (not using Dialog)...
I am a neb with Windows Forms but I have working with Asp.Net web apps for about a year. I am writing my first Windows Forms program and I am trying to write a simple program for renaming pictures in a folder. For example, lets say you had a folder with a bunch of pictures out of a digital camera with random number for names. The&n ...Show All
Visual C++ DllUnregisterServer issue; err code 0x80070005
i have a proj for creating an activex control. i have converted the vc6 proj to vc7 proj. now on building the activex control using vc7 proj i am not able to unregister the ocx using regsvr32. the return code is 0x80070005. if the same ocx is built using vc6 proj then everything works fine. didnt find anything special when comparing the vc6 and vc7 proj settings. the err code 0x80070005 suggests some permission issues. i tried checking the permissions for the users using regedit. the user has all permissions. please help. waiting for reply. Thanks, Chanakya Please follow Geoff's suggestion at http:// ...Show All
Visual Studio Team System Microsoft Support
Hello All, I am installing TFS. while installing TFS we are geting following errors " Error 32000.The Commandline '"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin\Stsadm.exe" ...' returned non-zero value: -1. " and then doing everything what MS says we get this error. " Error 32000.The Commandline '"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin\Stsadm.exe" ...' returned non-zero value: -2130246864 " Can somebody please tell me what is this. I am so excited about using TFS as my Development environment. And we are not able to s ...Show All
SQL Server SQL Server 2005 Reporting Serivces: XML Datasource problem
Hi, I'm just starting to use SQL Server 2005 Reporting services, and need to use an XMLdocument as the datasource. I will get the xml data from a webservice and then need to bind it to the report. Here is what I am doing: 1. I created a webservice at the following location: http://localhost/myWebDirectory/myService.asmx . this webservice has a method called " GetXMLDocument" that has 1 parameter (sql). This method uses the sql statement to fill a dataset from a SQL Server database, converts it to an xmlDocument, and returns the xmlDocument. Here is a sample of the results: < xml version="1.0" encoding="ut ...Show All
Visual Basic Migrating from Ms Access to SQL Server 2000
Hi, Is there many changes need t o be done in order to change my DBMS. Currently, i'm using Microsoft Access in my VB.net program. however, i need to change the DBMS to SQL Server. So what should i do can i still use back the same coding what namespace should i include Hi there, Firstly, I would consider using the Access Upsizing Wizard to migrate your database from MS Access to SQL Server if you have not done so already. If you've migrated via a different means, then a good start would be having the database schemas for the two databases almost identical (you won't get an exact match because SQL Server 2000 has a couple of differe ...Show All
SQL Server i created a login in SQL SERVER 2005 EXPRESS, but cant login...
create login dave with password='abc', default_database=tempdb when i use this account to login my sql2005, i got Msg 18452, Level 14, State 1, Server DAVID-398113F7C\SQLEXPRESS, Line 1 Login failed for user 'dave'. The user is not associated with a trusted SQL Serv er connection. why You have probably installed the server such that it only allows Windows Authentication, so you cannot connect with a SQL login. See the "How to: Change Server Authentication Mode" topic in Books Online for additional information on how to allow SQL authentication. Thanks Laurentiu ...Show All
Windows Forms about calendar control
Hi ! I had added a MonthCalendar control to my form and found that when I changed the setting in the regional and laguages options in control panel to Vietnamese , the calendar changed to Vietnamese immediately . Can anyone tell me How I can change regional setting by code or anyway to display my calendar in vietnamese. thanks alots ...Show All
Visual Studio 2008 (Pre-release) how can i get shorcut keys
Hi here i'm trying to create a simple menu with simple operations like file open , file close and etc.. how can I get control keys (shortcut keys) for that menu. For example ctrl+s for save , alt+f for open file menu and etc. Thanx-Nagu As an example, you'd want to do something like this: <Window.CommandBindings> <CommandBinding Command="ApplicationCommands.Open" Executed="OpenExecuted"/> </Window.CommandBindings> <Menu> <MenuItem Header="_File"> <MenuItem Header="_New"> <MenuItem Header="subitem"/> </MenuI ...Show All
Visual C++ Problems compiling COM based sample application in Visual Studio 2005
Ok, vanilla install of Visual Studio 2005 and Platform SDK. I copied and pasted some text from wmi samples into an empty Win32 console project with C++ and having some issues with compilation. Apparently even adding #define _WIN32_DCOM was not enough, compiler complains that CoInitializeEx is not found and other identifiers that are usually in objbase.h My code initialization is #define _WIN32_DCOM #include <Windows.h> #include "stdafx.h" #include <iostream> using namespace std; #include <comdef.h> #include <Wbemidl.h> # pragma comment(lib, "wbemuuid.lib") any visual studio specific settings that n ...Show All
Windows Forms showing popup menu on a listview
Hi I have this code to show a context menu when i right click on a treeView, I want the same effect for the Listvew can anyone show me how...I want it so that when i right click on an item in the listview it comes up with menus Private m_rClickedNode As TreeNode Private Sub MyContextMenu_Popup(ByVal sender As System.Object, ByVal e As Sys ...Show All
