Ali.Badakhshan's Q&A profile
.NET Development programming a dts package
Hi! I have a c# application where the user specified a database, and I have to export some data from that database to a csv file. Now, to do that, I would normally create a dts package. How can I do that from an application Thanks! Do you want to build a DTS task on the fly That's probably going to take a lot of work. Are you exporting from a SQL Server database If so it would probably by much easier to use a SQL statement. ...Show All
SQL Server Merge Replication with SQL Mobile 2005
We are using SQL 2005 (SP1) and mobile agents with SQL Mobile. We are seeing an excessive number of updates after a device's database is reinitialized. My understanding was that if I generate a new snapshot or reinitialize all subscriptions (from the server), the devices would only get what the database looks like right now (inserts only) after syncing and/or reinitializing, but they are actually getting the right number of inserts and a huge number of updates in Replication Monitor. Any ideas Thanks! Mike Thanks for th update for this issue. yes, seeing update is exact X * insert number does indicate there could be issues. so is both Log and log_history was published Please keep us updat ...Show All
SQL Server Run time variable setting
Hi, I want to execute a BAT file using Execute Process task, where I want to select the file path (directory) dynamically using a variable whose value is set at runtime. In simple terms I want to send a value to the "Executable" property dynamically Can some one help me on this This is definitely a possibility. I have done this many times. Follow these steps: Go into the Task and to the left of the task editor click on the expressions. To the right you will see "Misc" and below that "Expressions". Click in the box to the right of the expressions. You should see an ellipse or "..." button. Click it. The "Property Expression Editor" will appea ...Show All
Visual C++ MSVCR80.dll
I was trying to install a disc from my college classes and i keep getting this error, couldn't find libraryMSVCR80.dll (required by C:\PROGRAM~\COMMON~\MICROS~1\OFFICE12\MSOXMLMF.DLL) I have run RegCure to try and fix the problem to no avail. Any suggestions Also at start up, I get a rundell.dll error is this the problem You're wrong, Ben. The fault for this problem lies with a Microsoft employee. Post #8 in this in the forum linked below will start you on the way to discovering the truth. http://www.forumplanet.com/planetcallofduty/topic.asp fid=15781&tid=1935850 The solution, in most cases, is to browse the install disk and install from the setup file, not using the autoplay install. ...Show All
Gadgets can you use flash to develope a gadget?
pretty self explanitory. wanted to create something thats very interactive. and am not as familiar using ajax as i am with flash. also what restrictions do gadgets have do they have full access to internet etc From what I've read on here, you can use flash in gadgets. However, Flash doesn't work on 64-bit versions of Vista, so it would have huge compatibility issues for a lot of users. Andy ...Show All
Visual Studio Team System could you pls provide me some sample codes regarding how to call the api's into unit test
could you pls provide me some sample codes regarding how to call the api's into unit test.pls send me some sample codes for calling api's into unit test. 1.how to call that particular api's into unit test 2.what are the configuarations needed for that and how to parameterized. 3.after completion of code how to add perticular unit test into load test. pls give me quick answer..................................... for writing unit test code, is it require to know some programming ...... actually i am tester i dont have any programming knowlede.............is it possible to write some unit test scritps for calling api's. ...Show All
SQL Server Sliced [Customer].[Location Tree].[All] is not matching the sum of sliced members
This only seems to occur in one area, and unfortunately (or fortunately, meaning it's not a bug) I cannot get anything in adventure works to display the problem. In my cube, if I look at [Customer].[Location Tree].[All], but also say where Customer.[Organization Type].&[School], the sales value of [all] is presenting itself like the organization type slicing wasn't even used. ie: (the total sales from this query is correct in my mind) select [sales] on 0, Customer.Territory. AllMembers on 1 from cube where Customer.[Organization Type].&[School] but the all value out of this query is truly "All".. it doesn't seem to make use of the filtering: select [sales] on 0, [Customer].[Location Tree].[A ...Show All
Windows Live Developer Forums Hm
Did anyone fix the problem with the crash I have the same problem now after a reboot . I starts up , i can log in i just get to see my contact list.. then this Error Signature Appname : mssmsgr.exe AppVersion : 8.0.0566 App Stamp 43f6103c Modname Unknown Mod ver :0.000 Mod Stamp:00000000 Debug :0 offset: 04991050 anyone Rediger ... Ga tilbage til "any one" Thea Them Theo Thue te Rediger ... Ignorer alle Foj til ordbog Witha Gith Lith Rith Wita Rediger ... Ignorer alle Foj til ordbog Thea Them Theo Thue te Rediger ... Ignorer alle Foj til ordbog crazy smash scratch Rediger ... Ignorer alle Foj til ordbog Thea Them Theo Thue te Rediger ... Ignorer alle Foj til ordbog No Noa ...Show All
Windows Forms DataGridViewColumn.Format
Hi I have DataGridView control where I bind DataSource from one DataSet. Data in DataGridView can be modified. All Columns are Strings however in one column a user should input only digits. When I set Format property of this column to "N" it doesn't work. User still can input e.g. letters. What can I do in order to allow users put only digits in particular column I do not want to create my own class. I hope it is not the only solution. Thanks for hepl in advance E. Hi, You can check out the Int32.TryParse Method (String, NumberStyles, IFormatProvider, Int32) method. It can help to ensure that your numbers conform to the right format. What you can do is place a code ...Show All
SQL Server Help with an error message
I keep getting this error message when I try to restore a database backup that I have made. System.Data.SqlClient.SqlError: Directory lookup for the file "D:\Databases\GTT_Data.MDF" failed with the operating system error 5(error not found). (Microsoft.SqlServer.Express.Smo) What I have done is created a backup of my sql sever database and I am now trying to restore it into sql server express for someone to play around with without it affecting my actual database. This is where the error messages are coming from. Please help It took me an hour to find out that. When you backup database on one machine and then restore it on another it could happen that *******.mdf files is situated in different folders. Then you ...Show All
.NET Development How to compare 2 files...?
Hello All of you, I have a little problem. I working on a small project and in this moment I'm stuck. I need to see that 2 files have the same content, I know I have to use StreamReader and StreamWriter, but how do I do it easiest... I hope you can help And one more quastion do you know how to check every 30 second... I tried with itteration....but....., so do you have some references.... I use somthing similar to this in my windows service. canContinue is a flag that I setup to be set to false when the service gets the message to terminate. while ( canContinue ) { do_processing (); Thread.Sleep(30000); } Simplistic. But it works for me. ...Show All
Windows Forms we get error datagridview is not declared....are datagrid and datagridView the same name of datagrid?
Dim debitTotal As Integer = 0 Dim creditTotal As Integer = 0 Dim counter As Integer ' Iterate through all the rows and sum up the appropriate columns. For counter = 0 To (DataGridView1.Rows.Count - 1) If Not DataGridView1.Rows(counter).Cells("debit").Value Is Nothing Then If Not DataGridView1.Rows(counter).Cells("debit").Value.ToString().Length = 0 Then debitTotal += Integer.Parse(DataGridView1.Rows(counter).Cells("debit").Value.ToString()) End If End If If Not DataGridView1.Rows(counter).Cells("credit").Value Is Nothing Then If Not DataGridView1.Rows(counter).Cells("credit").Value.ToString().Length = 0 Then ...Show All
Smart Device Development porting w. ce 5.0 customized platform into visual c++
HI I've got a problem when i decided to install a customized platform made by platform builder with the aim of writing a native c++ application(vs2005) for a smart device. The platform was installed successfully from the .msi package but it doesn't appear on platform choice window at the time to configure the project. Thanks for any help. Matteo p.s.:My new platform appears on device emulator manager window even if i don't think this pl. could be managed by the emulator.(in fact there's no connect option,another question for another forum section..) How was the SDK from Platform Builder created What CPU flavors did you include as part of the SDK. You likely need to make sure there's at least one CPU ...Show All
Visual C++ _USE_RTM_VERSION has no effect on DLLs
I found out that it's possible to run applications built by VS2005 SP1 on PC which has installed the run time libraries (MFC80 and C run time lib) from VS 2005 not SP1. You have just to define the symbol _USE_RTM_VERSION on the C++ preprocessor inside your project. It works fine with exe file but it has no effect on DLLs . Infact, if my exe use a DLL (MFC based) built with VS2005 SP1 it doesn't start because the DLL cannot find the rigth run time libraries even if I defined _USE_RTM_VERSION on the DLL preprocessor. The only way to make things work is to rebuild everything with VS 2005 SP1 without _USE_RTM_VERSION and install the new run time libraries running the vcredist_x86 package. I found out that the problem apperas if the ...Show All
SQL Server Problems Accessing SQL after going from SQL 2000 to Mgmt Studio SQL 2005
I installed Mgmt Studio and SQL 2005 on a new server - I imported my complete old SQL 2000 databases - then shut down my Original SQL 2000 server and used that Idenitical IP as the Mgmt Studio SQL 2005's IP I am using Linux Jakarta Tomcat v5.0.27 and all SQL references are referring only to the IP number of ther server and not using DNS - Originally I was getting an error when my system tried to access the SQL stating that it was an untrusted connection - I then realized that the IP number referred to was not the primary IP and I changed that so the it was. Both the Linux and SQL 2005 are now using network IPs and then I got a message that the password that I was using was not strong enough so I changed that as well - then all my ...Show All
