Sunkyu Hwang's Q&A profile
SQL Server Mobile Replication
Dear All, I need to make Sql Server Mobile replication with Sql Server 2005, could any body tell where can I find step by step procedure to make this Thanks and Regards Hi, I follow the steps mentioned in http://msdn2.microsoft.com/en-us/library/ms171908.aspx but when I try to run the replication agent I get the following error: Executed as user: cat-10g\snapshot_agent. The replication agent encountered a failure. See the previous job step history message or Replication Monitor for more information. The step failed. any advise Thank s and regards ...Show All
Microsoft ISV Community Center Forums Can you use VBA to access a spread sheet embedded in a word doc?
I am trying to use VBA code written in MSWord to access an embedded spread sheet. I can't find any documentation on how this is suppose to work. Does word access the sheet through an instance of excel Is the sheet part of the document so I can find it in the "ThisDocument " I have tried everything I can think of, so any help would be appreciated. Hi, Something along these lines. Sub WriteToSS() Dim objSS As InlineShape With ActiveDocument.InlineShapes(1) .OLEFormat.DoVerb wdOLEVerbHide With .OLEFormat.Object.Application With .workbooks(1).worksheets(1) .Cells(1, 1).Value = "Hello" .Range("B1").Value = "World" End ...Show All
Visual Studio Express Editions close to tray
i try to do close to tray but somehow it always auto call close whenever I try to restore from tray . the window is call as another thread from main window . here the code Private Sub winSetQueue_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing if reallyclose = false then NotifyIcon1.Visible = true Me.WindowState = FormWindowState.minimized Me.ShowInTaskbar = false e.cancel = true end if End Sub Private Sub NotifyIcon1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles NotifyIcon1.Click NotifyIcon1.Visible = False Me.ShowInTaskbar = True Me.WindowState = FormWindowState.Normal End Sub if i use hide() it will worse, the window auto close wit ...Show All
Visual Basic Crystal Reports in VS 2005
We are using VStudio 2005 Professional at work and it comes with a version of Crystal Reports. Does anyone know if this version of CR is a sample or is it a full version Thanks. I'm not 100% sure, but in earlier versions of VB the crystal reports was slightly different from the shrink wrapped package from Crystal (Seagate / Business Objects). That said the files were completely compatible between the two and the one included with VB provided full working functionality that could be freely distributed runtime free licensing. ...Show All
Visual Studio Reporting Services Report Viewer -> Set which paper tray to use
Hello there, is there any way to set the paper tray which the ReportViewer-control should use I've got a lot of reports, some of them are DIN A4, some envelope formatted. In runtime I've got the information, which paper tray to use ("Tray 1" or "Tray 2"). When the customer clicks the printer-symbol rule which tray has to be used. Some ideas Thanks, Tobias Just for completing this thread: I put the size of the report in the exact size of the paper format and said to the printer to auto-select the tray. The problem was, i never used the correct format of Envelope DL. Now it works fine. Hope that helps. Greets, Tobi ...Show All
SQL Server Configuration File not always used
I have a simple SSIS package (stored in the file system) that gets a file path from a configuration file. The configuration type is an indirect XML configuration file that uses an environment variable to store the location of the configuration file. When I run the package using dtexecui, or just dtexec from a command line, the package successfully picks up the file path from the configuration file (for verification I am writing out the variable containing the path to the log file). However when I run the package from a SQL Agent job it appears that the configuration file is not being used (the path is set to the same dummy path that I used during development). I have tried running the job as both a CmdExec and an Integrati ...Show All
Software Development for Windows Vista Using MXDW
I would like to use MXDW to create XPS documents from any application. But I would like to automate the creation by automating the printing process. But when I try to do this it always comes up with the "save as" dialog box. I had the same problem using the MODI driver as well. Does anyone know how to get rid of that Any samples will be helpful. Hej Charlee, _______ > Why not writing your own XPSDrv filter driver connected to NULL port, and in your filter(Stream-In and Stream-out) you take over the job and write it into where ever you want to be. _______ do you have written such a filter on your own already and have tried out if that will work though I guess myself ...Show All
Microsoft ISV Community Center Forums Can't open regedit
Hai.... Why if I want open regedit (run>regedit), and then show message error like that The application failed to initialize properly (0xc0000005) Please anybody help me... Jebat Thanks Your SP2 installation should take prescedence over anything else, but since it is not, here is what I would do. If you can only get the SP2 to install it sould overwrite all that other stuff. I would not just simply delete the NT regedit or anything until you try this simple solution first. XP Pro has a built-in program for such incidences. It's called program compatibility (wizard). You will have to hunt it. it might be under accessories then under systems tools. I always ha ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Cylinder between two vectors
I have tried rotate this thing on every axis and I still can't get it right. what I am trying to do is draw the single bond between two atoms. Does anyone have an example of the math and steps to do this. I have two atoms in my world and I have the cylinder(bond) in between. I just can't get it to rotate 90 degrees into place.If the cylinder is laying on its Z axis that mean my Z axis is pointing straight up. What am I do wrong If you're referring to the initial DXUT camera, then yes I believe it starts looking at Z+. So the fact that you see your cylinder as a point (should be a circle though) means you should rotate it around X+ by 90 degrees to make it become a line connecting between the two other sph ...Show All
SQL Server Scoped calulated measures for unrelated dimensions
Hi, I am not sure if this is a correct way to design this, Here is my scenario: We are migrating an existing databwarehouse application from vb, which used to pull out records using the criteria provided in the input screen. The input conditions are many and multiple selections and combinations constitute the final data that is returned in excel format. Most of the input conditions specified are filters or slicing of data, which we have modelled as dimensions, and they were existing tables in the database. other filters for dicing the measures which is modelled as the fact were also existing tables. There are some input conditions that are not dimensions at all, meaning there are no tables which exists for them. One fo ...Show All
SQL Server Unlocking login on Status Tab always gets reset to Locked Out
I've been having this issue lately with a new login. We have set it up to use the Windows Password and Expiration Policy and I give it an initial strong password. In testing this new account I would purposely input the wrong password into an application 3 times thus causing the login to become locked out. I would then go into the SQL Management Studio, go to the Status Page and uncheck the 'Login is locked out' flag. If I would then click the 'OK' button to close the properties, I would get an error message that the password is not complex enough. This is strange since I never changed the password in the first place, I just unchecked the 'Login is locked out' flag. That's issue#1. I then decided that I would give Management Studio the b ...Show All
Visual FoxPro Native Financial Functions in VFP
Anyone know how to simulate the financial functions in excel or vb.net Besides clarifying as Andy said, whatever functions you need that do not exist or are cumbersome to make in VFP, if the client box has Excel installed, you can always use Excel financial functions in the background through COM Automation and it will be transparent to the user. ...Show All
Windows Forms Help removing indicator/pointer in row header of datagridview
Hi. Just wondering if anyone know how to hide or make the indicator (pointer or triangle symbol) disappear This is the one that shows on the row header then you scrolling thru the rows in a datagridview. That is without hiding the row header all together. I any idea Regards, JB.. It's not need to draw the string ,just handle the cellFormating event,and set the header cell value for each row: void dataGridView1_RowPrePaint( object sender, DataGridViewRowPrePaintEventArgs e) { e.PaintCells(e.ClipBounds, DataGridViewPaintParts .All); e.PaintHeader( DataGridViewPaintParts .Background | DataGridViewPaintParts .Border ...Show All
Commerce Server Taxation data
Hi, following on from my previous question: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1094829&SiteID=1 I'm looking for the most suitable place to store tax rates. I thought of creating a new profile object but don't think that is the most efficient place to store the data. The tax rates need to be easily accessible for my tax pipeline, without having a large performance hit. Thanks in advance Paul Alright, finally it's posted -- pipeline component starter kit with calculate tax component sample ! :) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. making easy multiplayer game
hi, I would like to create as feature a mulitplayer game and I was wondering how. I have the latest directx, directx SDK, C#, all frameworks,... and a server anybody can help me to good tutorial and tell if I need to use directx SDK for this Fata1Attack wrote: I looked the web already but can't find any decent tutorial, can somebody help me I would like ot have a tutorial that learns me to handle it with a webserver, thank you! If you're looking for a start-to-finish guide on "how to code a game", I'm sorry but you're probably not going to find one anywhere. Coding any complete application is a serious piece of work, and games are perhaps the most involved (as they ...Show All
