osman ayhan's Q&A profile
SQL Server Any available solution do creat 3 databases correspondence?
Hi, we have three dabases: 1. Two localDatabases in two offices, Main Office & Branch Office, each office in a diffrent city!! 2. One remoteDatabes exist in on the internet server. all of it are with the same exact architecture, we are planning to upload and download to & from remoteDatabase to get the same data in all of them. any available solution to do this with SQL Server 2005 You may wish to investigate the use of Replication (see Books Online). A couple of other options include: database mirroring and log shipping. My guess (based on scant information) is that one of the Replication schemes is most likely what you seek. ...Show All
Smart Device Development how to load evc project in vs 2005
hi how to load evc project in vs 2005. ...Show All
Visual Studio Visual Studio 2005 Beta 2 setup fails immediately
Hi, I'm installing Visual Studio 2005 Team Suite from the Beta 2 DVD handed out at one of the recent MEDC events. I have: Windows XP Pro + SP2, 1.6Ghz, 256MB RAM, 4Gb disk space free. No problem with the DVD drive that I am aware of. No previous betas installed. I have VS 2003, eVC++4.0, Embedded Visual Tools 3.0 installed. Following error appears: AppName: setup.exe AppVer: 8.0.50215.44 ModName: setup.exe ModVer: 8.0.50215.44 Offset: 00029002 Any ideas I can send the full error log if you give me an address. Regards, Ade W You could try running FileMon or RegMon and see if they throw up any errors of obvious faults: http://www.sysinternals.com Is anything reported in Event Viewer Are there ...Show All
Visual Studio Express Editions Can't Compile anything...
Hi, I have installed Visual C++ Express 2005, and I have installed the PSDK. I have followed all the guidelines on the website to configure VC++ for building Win32 Applications. However, when I try to compile any Win32 Project that I have made, It always gives this error: c:\program files\microsoft platform sdk for windows server 2003 r2\include\stddef.h(6) : fatal error C1021: invalid preprocessor command 'include_next' Something went terribly wrong. stddef.h doesn't belong in the SDK include folder, it belongs in the vc\include sub-folder. More-over, it shouldn't contain anything like "include_next". ...Show All
Smart Device Development SQL Express & SQLclient problem in VB2005
Hi guys, this is my first post here, im a VB Win developer with some experience, and now id like to try Smartphone programming, but i reaally need some help, heres my case: Im using VB 2005 and i have installed SQL Server 2005 Express. I create a new project and add a reference to System.Data.Sqlclient, located in: C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Client\v1.0 Then i procceed to import the namespaces: Imports System Imports System.Data Imports System.Data.SqlClient Since i just wanted to test if the connection works just like it does in VB Windows Applications, i added a Textbox (named Textbox1 ) and added the following code in the KeyPress event: Dim strconn As String = "Data Source=XZIBIT;Initi ...Show All
SQL Server How to order by member key?
Hello, I ran into another issue as to I would like to order the [Week Name] by the Member Key. Currently, the LastPeriods() is returning "Week of 12/25/2006", "Week of 12/17/2006" instead of "Week of 1/22/2007" because it is order by Member Name instead I would like to order by Member Key. Can anyone help me with the code below so the LastPeriods() is indeed the last 3 week (order by Member Key) instead of by Member Name SELECT { LASTPERIODS (3, TAIL ( nonempty ([Week].[Week].[Week Name]. Members )).Item(0).Item(0) ) } ON COLUMNS FROM [GMDSummary] Much Appreciated! -Lawrence See if you can solve this by modifying your dimension. For Week Name attribute tr ...Show All
SQL Server SQLXML 4.0 sql:use-cdata bug?
Hello Everyone! Is the following behaviour a known bug in XMLSQL and is a work-around known for this I use an example right from BOL (I only changed attribute to element to use sql:use-cdata annotation): The following works as expected. <xsd:schema xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:sql="urn:schemas-microsoft-com:mapping-schema"> <xsd:annotation> <xsd:appinfo> <sql:relationship name="CustOrders" parent="Sales.Customer" parent-key="CustomerID" child="Sales.SalesOrderHeader" child-key="CustomerID" /> </xsd:appinfo> </xsd:annotation> <xsd:element name="Customer" ...Show All
Game Technologies: DirectX, XNA, XACT, etc. visual C# express edition and directx
what is required to set up an empty directx aplication in vc# ee that i can use as a template later to code You could use the Managed EmptyProject sample in the DirectX SDK as a starting point, or modify one of the Managed Tutorial projects. Hope that helps. Happy Holidays ...Show All
SQL Server Grouping by Age
I have a table Age and need to create Report by Grouping Salesfigures according to Age. I put the following expression into Grouping and Sorting Properties/General/Filter /Sorting Expression... as well as in Textbox Properties/ values.. =IIF(Fields!Age.Value < 16, "<16",IIF(Fields!Age.Value <21,"16-20") Errormessage: Value expression for textbox "Age" error: Argument not specified for parameter 'FalsePart' of 'Public function IIF(Expression as Boolean, TruePart as Object, Falsepart As Object) As Object'. Question 2 . How to return Month as January, February... In correct order "DATENAME(mm, Sales.time) AS Month" (Ascending ) returns starting with April, August... DATEPART(mm, Sales.time) AS ...Show All
Visual Studio Report Viewer control
Where do i get the detail how to using the report viewer control in .net 2.0 How complex the report viewer control Can use it to do a very complex report .. and export to excel. Thanks michael i have sucessfully bind the SQL in the dataset. I have bind 2 table 1 table is normal data...anther 1 is opening_stock which have 3 PK,this opening stock only display at the top header base on the Field data. so my problem is how can i pass 3 PK into the dataset n get the opening stock. 3PK is based on the some field that display in report. ...Show All
Visual C# How do you modify windows form control's properties from other classes?
I am trying to make it so when a button is clicked the text on that button will change to something else using a method from a different class. I can't quite get it. This is what I have so far: using System; using System.Windows.Forms; public class Form1 : Form { public Button button1; // Windows Form Designer generated code here... } private void button1_Click(object sender, EventArgs e) { // I want the method to be called here } And here is the class that I want the method in: using System; using System.Windows.Forms; public class Change { public void ChangeText() { // How would I be able to modify the button and its properties } } Can someone please help me with this Thanks. w ...Show All
SQL Server how to skip applying the current remaining logs?
Hi, My replication application need to be able to skip the from-last-stop remaining logs (that means to skip the logs generated from the last stop time of my replication application), how can i realize it thanks. is this transactional replication you'll have to work it into your app to drop the subscription and recreate it without applying a snapshot, as you can't fast-foward through the distribution database. Is there some sort of batch processing going on that's preventing you from running normally ...Show All
Visual Studio Tools for Office Outlook VSTO SE addin Deployement project
Hi, We are preparing a lite version of our product (Outlook 2007 VSTO addin) and we need to add Outlook 2007 and Office 2007 PIA in the launch conditions. Problem is we cant find the Component Codes and Product Code for these. We have already created the bootstraps for these tools, but need their component codes too for lite version. I tried to look in the resources, but no use. X-posting them here: VSTO Deployment These whitepapers are interrelated, so be sure to review both of them. · Deploying Visual Studio 2005 Tools for Office Solutions Using Windows Installer (Part 1) http://msdn2.microsoft.com/en-us/library/aa537173(office.11).aspx · Deploying Visual Studio 2005 Tools for Of ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DreamBuildPlay is up!!!
Now go register!! Actual contest details to come the week of Feb 5th I don't really know any valid zipcode and phone number for the US, nor any address for that matter. Thanks for the advice, anyway! I guess I'll just have to wait until they fix this. ...Show All
Visual Basic Interfaces and Non-Project References
I have the following situation: Proj1 Proj2 - has a reference to Proj1. Declares an interface. Proj3 - has a reference to Proj1 and Proj2. Has an implementation for the Proj2 interface. The problem is that any method declared in the interface that requires a class from Proj1 fails. The error messages say that there is no matching sub on the interface. Any method that doesn't include a Proj1 object works fine so it's obviously the references. When Proj1, Proj2, Proj3 are in a single solution everything works fine but I need Proj2 and Proj3 to be in a solution with a file reference to Proj1. I have it setup so that Proj1 is compiled and copied into a lib directory in Proj2 and Proj3 and they have a reference to their respective l ...Show All
