Software Development Network Logo
  • Visual C++
  • Game Technologies
  • SQL Server
  • Visual C#
  • Visual FoxPro
  • .NET Development
  • Visual Studio
  • SharePoint Products
  • Microsoft ISV
  • Visual Basic
  • Windows Forms
  • Audio and Video
  • IE Development
  • Smart Devicet
  • Windows Vista

Software Development Network >> prithvi4u's Q&A profile

prithvi4u

Member List

thomaskremmel
mfmh
SoulSolutions
Nanja Raje Urs
Kardi
Robert F Pickering
Joannes Vermorel - MSP
eTape
OscarKwok
anita punjabi
Milad.a.p
AeX
abrewerton
Solitaire
R.Tutus
Stormin Norman
joe25
StevenGreen
Amde
karthik asok
Only Title

prithvi4u's Q&A profile

  • Visual Studio 2008 (Pre-release) TextPointer.GetCharacterRect throwing NullReferenceException

    I'm trying to write code to scroll particular paragraphs of a FlowDocument to the top of a FlowDocumentScrollViewer. What I'm thinking to do is to: 1) Find the Paragraph by Name in the FlowDocument 2) Use the Paginator attached to the FlowDocument and the GetObjectPosition to get a TextPointer to the Paragraph. 3) Use TextPointer.GetCharcterRect to find the offset to that paragraph in the document 4) Find the ScrollViewer elemet in the Template of the FlowDocumentScrollViewer 5) use the ScrollViewer.ScrollToVerticalOffset method with the offset computed in 3. Is this strategy going to work I've run into one problem straight away, which is that in step 3) (and see code below), GetCharacterRect throws a NullReferenceE ...Show All

  • Software Development for Windows Vista Beginner having issues in Compression

    Hi I am trying to capture video using a webcam and at the same time drawing over this video capture using VMR 9 ( samplegrabber filter ) in real time into an AVI file. I managed to create the AVI file but the file is in an enormously large size. (Recording in 640 x 480) Currently using RenderStream  to capture the video. For the argument, pIntermediate [in] Pointer to the IBaseFilter interface of an intermediate filter, such as a compression filter. Can be NULL. I fed in the samplegrabber filter instead of the compression filter which allows me to capture my required video but at the same time I won't be able to do any compression real time. Anyone can help me please. Thanks for any help rende ...Show All

  • Visual C# Reading from a text file

    Hey! I want to make an Islamic program with daily prayer times but I'm having a big problem. The prayer time changes everyday, but I have the daily timing for the next 12 months (2007). Here is how the text file looks like: (prayertime.txt) Day January Fajr Sunrise Dhuhr Asr Maghrib Isha Mon 1 6:26 7:51 12:22 2:34 4:52 6:18 Tue 2 6:26 7:51 12:23 2:35 4:53 6:19 Wed 3 6:26 7:51 12:23 2:36 4:54 6:20 Thu 4 6:26 7:51 12:23 2:36 4:54 6:20 As you can see the prayer timings are different everyday. Part 1) Now I want my program to read the data from her ...Show All

  • Visual C++ Smartbridge Alerts

    I too am receiving the "entry point not found" message. I have very little technical knowledge and would appreciate assistance in any fashion. thanks. Helen McLaughlin I am too receiving the "entry point not found" message. I have very little technical knowledge and would appreciate assistance in any fashion. thanks. Xavier Gonzalez ...Show All

  • SQL Server FTP Task - Delete remote files always fails

    Hello, I have two FTP Tasks configured in my SSIS package. One is for "Receive files" and the other is set for "Delete remote files." Both use variables for the source/destination paths. My remote path variable contains a wild card in the name field such as /usr/this/is/my/path/*.ext and it is working to FTP all the .ext files to my working directory. I then rename the files and want to remove the original files from the FTP server. I use the same variable as the remote path variable in the delete as I do in the receive. Using the same FTP connection manager for both tasks I am always getting a failure on the delete. The FTP connection manger is setup to use the root user. Using a terminal I am able to open an ...Show All

  • SQL Server Ordering date in asc order ?

    SELECT LEFT(CONVERT(CHAR(11),convert(datetime,task_date),109),3) + ' ' + RIGHT(CONVERT(CHAR(11),convert(datetime,task_date),109),4) as Date, SUM(CASE a.status_id WHEN 1000 THEN b.act_point ELSE 0 END) as Programming, SUM(CASE a.status_id WHEN 1016 THEN b.act_point ELSE 0 END) as Design, SUM(CASE a.status_id WHEN 1752 THEN b.act_point ELSE 0 END) as Upload, SUM(CASE a.status_id WHEN 1032 THEN b.act_point ELSE 0 END) as Testing, SUM(CASE a.status_id WHEN 1128 THEN b.act_point ELSE 0 END) as Meeting, SUM(CASE a.status_id WHEN 1172 THEN b.act_point ELSE 0 END) as Others From task_table a,act_table b where a.status_id=b.act_id and a.user_id=(select user_id from user_table where user_name='Raghu') and a.task_date like '%/%/2006' GROUP BY L ...Show All

  • Visual Studio 2008 (Pre-release) Polygon.Points Binding TwoWay

    So, I have a class that has a PointCollection, that is used to store some polygon geometry. I have a DataTemplate that I am using to display the polygon data, and am databinding its Points collection to my object's Pointcollection. This works well for displaying the polygon the first time, but if I change any of the points in the object's PointCollection, then the polygon is not updated with the new shape information. The weird part, is that if I just set the Points value of the polygon to the object's points property, it works as expected. I was able to create a custom shape to get around this problem, but I was wondering if this is a bug. Here are the important bits. By the way, I am running RC1. <DataTemplate DataType="{x:Type ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Converting images to Pipeline without XNA Game Studio?

    Is there a tool available to convert / view XNA Pipeline files Reason being, is that the person doing the art would generally want to try changes images etc.. without having to have Express installed etc... Yes, but thats the problem. I've given the build to the artist, but he cant see the image or change them as they are already converted to an XNB file. All I want is a little tool that takes an image and converts it to an XNB file... and vice versa. (Without having to install XNA Game Studio) ...Show All

  • SQL Server SQLDependency Disconnects for Web application

    Hi, On my ASP.NET 2.0 application and SQL 2005 database server, i am using SQLDependency API to recieve notifications on the dataset changes from SQL 2005 server. I get the notification sucessfully (irrelevant of number of attempts). So here's the problem, i wait for 3-4 mins and make sure that there is no activity on my web server. Now if the data changes the service broker fires the event (i validated through trace). But the notification is never received by my web application. It gets lost in between. I read about this 'Abrupt client disconnects' problem in the article http://blogs.msdn.com/remusrusanu/archive/2006/06/17/635608.aspx but this didn't help much. Also i sometimes see following messages in the profiler <qnev:QNEv ...Show All

  • Visual Basic Power Pack - MSN Messenger Component

    Not sure if this is the right forum to post this but I'd sure like to see Microsoft release a power pack that allows us to integrate MSN Messenger with Visual Basic 2005 (establish conversation, send and receive data would be the basic functionality). An "Office Communicator 2005" component would also do. Thanks Microsoft! ST Done! Please vote for Feedback ID # 209404 - MSN Messenger Power Pack: I'd like to see Microsoft release a power pack that allows us to integrate MSN Messenger with Visual Basic 2005 (establish conversation, send and receive data would be the basic functionality). An "Office Communicator 2005" component would also do. I've seen several requests both on the VB forums as well as ...Show All

  • Windows Forms DateTimePicker bind to DataGridView Issues On Displaying Blank Date

    hi, I got two (2) problems on this. 1. by reading alot on the forums/thread, I learned that to display blank date is by using CustomFormat = " ". At the same time I added code in ValueChanged to set value to mindate if text length is zero. My problem right now is that if the last value is min date and when I do a dropdown to select the date, the date choice is on the min date (eg. Jan 1901) which can cause trouble to get to the current year (need to click right arrow keys alot of times). Can I default it in a way that the calendar month that would be display on dropdown is current date I tried OnDropDown and change value to date.today but still doesn't work. 2. the datetimepicker is already displaying blank date, ...Show All

  • SQL Server building cube using AMO

    hi, i am developing an application which enables the user to create a cube on the fly. I know that i can use AMO to create a Analysis Services 2005 cube. but my question is : Is it possible to use AMO to create a Analysis Services 2000 cube Cheers Anil The answer to your question is: No, you cannot use AMO to create cubes in Analysis Services 2000. There are too many differences betwee AS 2000 and AS2005. Analysis Services in version 2005 has been rebuilt almost from the groud up. The techologies and protocols used in AS2005 are new. Edward Melomed. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Visual Studio SandCastle, Msbuild, and H2Reg

    I have updated to the Oct 17 version of sandcastle and update msbuild scripts for the changes in this version. I am successfully building an hxs and can view it correctly with h2 viewer. However, when I register the collection to integrate it with Vs 2005 only the index items appear but nothing shows in the content window. I have search the fourm and can't find anything similar to this issue. Anyone have any clues why the collection looks fine in the viewer but not content in content window in vs2005 thanks, Don Eddleman Thanks Don - two more questions: 1) are you installing this on the same system you are building the .hxs files on, and 2) do you have an .hxt file defined for your collection an ...Show All

  • Visual Basic Extracting data from excel files

    I want to use excel to make datasheets for my project.I tried looking for a way to use excel worksheets in my project. I added a com reference to Microsoft Excel 11 Object Library. I am wondering if this is the right way to go. Also, I want a method that would allow the user to not need excel installed on their computer. Any ideas in order to use the Excel interop, the user has to have either Office installed or the Interop libraries: http://msdn2.microsoft.com/en-us/library/kh3965hw.aspx As for writing to excel files etc... im not an expert but there are quite a few topics about this, try a search on the forums. However I thought I would give you the answer to your last question :-) ...Show All

  • Windows Forms Custom Control Resizing

    Hi Guys, I'm trying to create a user control which has a textbox and a combobox and I would like to have the two controls take up the full size of the window and would like them to resize themselves to the width of the custom control. Is there any easy way to do this or am I best just writing some code that executes on the load of the control that resizes it to the width of the custom control Thanks Hi, put both controls in your custom control. Set the Dock property of the textbox to Top and set combobox's Dock to Bottom. Both of the controls will accomodate control's full width. When you change the height of your custom control, the textbox will always stick to the top, while combo will be docked t ...Show All

©2008 Software Development Network