I.HJ's Q&A profile
Visual Studio Express Editions SQL Express setup problem
I get this prompt when attempting an installation: SQL Server Setup could not connect to the database service for server configuration. The error was: [Microsoft][SQL Native Client]SSL Provider: The certificate chain was issued by an authority that is not trusted. Any ideas about how I correct this I am having the exact problem you describe in your post. Did you ever figure out how to install the sql express server Thanks for any help. ...Show All
SQL Server LocalReport - ClickOnce(Request for the permission of type)
Hi, I have a report that references a custom assembly. The assembly just return a string value. I have the main project security with 'Enable ClickOnceSecurity Settings' with 'This is a full trust application'. When i want to preview the report i receive this message: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Note: I'm working with localreports. Thanks, I think I have the solution, We need to give permission to the directory used by ClickOnce in 'Microsoft .NET Framework 2.0 Configuration' in my case. Open 'My Computer' -> 'Runtime Security Policy' -> ...Show All
Visual Studio Tools for Office custom command bar menu disappears off one sheet but appears on another
I have added a custom button to my vsto excel project. Here is the code: Public Sub CheckIfMenuBarExists() Try Dim foundMenu As Office.CommandBarPopup = _ Me .Application.CommandBars.ActiveMenuBar.FindControl( _ Office.MsoControlType.msoControlPopup, System.Type.Missing, menuTag, True , True ) If foundMenu IsNot Nothing Then foundMenu.Delete( True ) Else AddMenuBar() End If Catch ex As Exception MessageBox.Show(ex.Message) End Try End Sub ----------------------------------------------------------------------------------------- Public Sub AddMenuBar() ...Show All
SQL Server Getting SQL result in a variable
Hi there I have a global variable say cnt in SSIS package, now I want to get total number of rows from a table say emp in that variable cnt. how do we achieve that thanks and regards Rahul Kuamr on the same line,another query If we wish to get result of some SQL query say select name from emp where id='234' thanks and regards Rahul kumar ...Show All
.NET Development Navigating thru xml
I have the following xml: <students> <student id=”1”> <columns> <column width="50" type="text" >George</column> <column width="50" type="text" >Turner</column> <column width="11" type="text" >Grade</column> <column width="11" type="number" decimal="0" >Score</column> <column width="15" type="text" >Status</column> </columns> </student> <student id=”2”> <columns> <column width="50" type="text" >Jill</column> <column width="50" type="text" >Stuck</column> < ...Show All
Visual Basic KeyDown event problem
I am currently using the KeyDown event to make a picturebox named "bar" move left and right with the arrow keys but my problem is that when I press left or right the bar moves once, then is followed by about half a second of not moving, then continues to move. How can I modify my code to get rid of the delay Private Sub Form1_KeyPress( ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase .KeyDown If e.KeyCode() = Keys.Left And pad.Left > 0 Then pad.Left = pad.Left - 10 End If If e.KeyCode = Keys.Right And pad.Left + pad.Width + 16 <= Me .Width Then pad.Left = pad.Left + 10 End If End Sub ...Show All
Visual Basic visual basic 2005 help
since i am using computer from 5 to 6 years.i have good command over computers internet etc. now i want to start to learn programming from basic to advance. i dont have any knowledge of language fundamentals. i have seen VB 2005 i have designed some basic interfaces in it. but later i came to know that i must have good concept of OOPS or C or c++. few told me you cant learn VB2005 without learning vb 6 or Vb .net 2003. if i will start learning that it will take 6 or more months and than VB2005. its not look great for me. i dont want develop hardcore giant and multinetwork applications. i am planning to develop midrange of applications relating to inventory accounts etc. my question is it is possible to learn directly VB 2005 or i have ...Show All
Visual Studio Express Editions Windows ME
Is there a Visual Basic that can be run from Windows ME I have the same problem. I am currently using windows ME, and would like a visual basic program to make programs. I have tried downloading various programs but none of them work on ME. Is there a visual basic program that works on windows ME ...Show All
Visual Basic Mute all apart from self
I need some code that is activated by a button, that mutes absolutely everything besides the application itself, and motherboard beeps. You know, the cute little noises the motherboard makes when GMail notifier tells you there's something new. ...Show All
Microsoft ISV Community Center Forums Delete Unwanted rows based on value in cell
Hi all, I have to loop through a range of rows with an excel sheet and delete unwanted data. To identify the rows to be deleted I have to do the following: Firstly I must start at A1 and check if it contains the value "Product", if not i go to the next row but if it does i must then delete this row and go to the next. I must then check that the next cell contains the value "Total", if not i go to the next row but if it does i must then delete this row and go to the next. I then need to delete each of the next rows until i find the next cell that contains the value "Product", delete this cell and then go through each of the next rows until i find the next cell that contains the value "Total&quo ...Show All
Visual Studio Team System we are adding unit scrits into load test but it is giving erros like object varible or with block variable not set?
we are adding unit scrits into load test but it is giving erros like object varible or with block variable not set what could be the problem and weather we need to add any load test plugings into unit test because i don't know what could be the problem .....................pls let me know........... because its very urgent................ A couple of things: 1) Your unit tests need to be thread safe. So if you are accessing any shared variables (e.g. statics, class variables, or singletons), you need to make them thread safe. 2) you should try running the load test under the debugger to try to debug the problem, and break when this exception is thrown. Ed. ...Show All
Windows Search Technologies Windows Desktop Search Tool Tray Admin
In order to try to get WDS to run properly I tried to Uninstall and then Reinstall the program. Now it won't run at all . I keep getting the error message "Windows Desktop Search Tool Tray Admin has encountered a problem and needs to close". Help!!!!!!!!!!! Hmm... Sounds like the uninstall/reinstall did not happen cleanly. Here are a list of steps that may help you: It is possible that you may have performed some or all of these steps previously, but the key seems to be the order in which they are performed: A. Disable Third party browser extensions. To disable these browser extensions: 1. Click "Tools" in your Internet browser. 2. Click "Internet Options ...Show All
Windows Search Technologies How to open an outlook item from the searched result (mapi url)
Hi Everyone !!! I am totally new to WDS development. I have downloaded WDS SDK and sample application. Using that sample application i learnt a lot but have problem in opening outlook item from the search result's mapi url. Mapi url is like mapi://LocalHost/Default/Mailbox – Some User ($484efb89)/0/Inbox/ /at= :somefile.txt Some part of this mapi url is encoded i.e. store entry id (Hashnumber) and EntryID (encoded as Unicode string). For detail please check http://blogs.msdn.com/stephen_griffin/archive/2006/05/10/594641.aspx . In this article i found the decoding algorithms to calculate store hash and to calculate encoded entry id. These algorithms are in c++ but i wanted it in c#.net, can anyone please do for me ...Show All
Visual C# Is C# 100% pure OOP.., Boxing n unboxing
hai, int is an alias of Int32 structure, so the statements- int age; Int32 age; ->are both similar means then statement, int age; here age is an *object* and not considered as primitive type as in Java or C++, isn't it . By this I came to conclusion C# is a 100% pure OOP language. Am i right or wrong yours suggestion pls... OK, coming to the next query- int age; ->if age is considered as an object then, what for the boxing and unboxing is there pls, suggest your points... Boxing and unboxing has nothing to do with whether C# is pure OOP or not, it is an implementation detail to improve performance. If C# did not use it, but represented all types as objects, it would not change the semantics ...Show All
Visual Studio Express Editions newbie,how can i refresh a panel when i scroll with the mouse wheel
Hi,i have a splitcontainer with gradient colors. when i scroll the colors get distorted. it's probably just my graphics card. what i did to fix this problem is the following. the problem is this only works when i click on the scroll bar and move the mouse but if i use the mouse wheel to scroll it doesn't refresh. how can i get SplitContainer1.Panel2 to refresh when i rotate the mouse wheel. Private Sub SplitContainer1_Panel2_Scroll( ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles SplitContainer1.Panel2.Scroll SplitContainer1.Panel2.Refresh() End Sub Use the mousewheel event to refresh the panel also: Private Su ...Show All
