![](/img/trans.png)
[英]Find Immediate Windows localized name in Excel-VBA
在 VBA-Excel 中有沒有辦法找到如何在 Microsoft Office Excel 的本地化版本中命名即時窗口,而不是英文? 比如我用的是意大利語版的Excel,這里的Immediate window叫做“Immediate a ”, 其他,例如這里的荷蘭語,稱之為“直接”等等...... ...
[英]Find Immediate Windows localized name in Excel-VBA
在 VBA-Excel 中有沒有辦法找到如何在 Microsoft Office Excel 的本地化版本中命名即時窗口,而不是英文? 比如我用的是意大利語版的Excel,這里的Immediate window叫做“Immediate a ”, 其他,例如這里的荷蘭語,稱之為“直接”等等...... ...
[英]Get result of Macro in the cell in VBA
我的請求 當我運行下面的代碼時,我在即時窗口中得到它的結果,因為我在最后第二行代碼中使用了Debug.Print (cookieValues) ,但我需要該結果出現在Sheet1的A1單元格中。 這可能是一個基本問題,但我已經在互聯網上完成了所有研究,但無法獲得它,因為可能有用於搜索它的技術詞匯, ...
[英]Why do we need the question mark in Immediate Window of VS?
因此,閱讀此文檔: https://learn.microsoft.com/en-us/visualstudio/ide/reference/immediate-window?view=vs-2022 看起來問號 (?) 是命令>Debug.Print的別名,它基本上會計算表達式並顯示結果。 ...
[英]Immediate window not executing selenium webdriver code
在 VS2019 和 VS2022 中均經過驗證。 我最近才開始注意到我無法再立即在 window 中執行 selenium webdriver 代碼。 之前,我知道我能夠立即在 window 中執行不同的驅動程序操作,但現在我收到以下消息: 最近有什么變化導致 selenium 出現這種情況嗎? ...
[英]Call C++ function inside VS watch or immediate window
Question is fairly simple: Is there a way to call a C++ function from watch window of visual studio , when that function is declared in File1.hpp , ...
[英]debugger: How to get address of class name in constructor
注意:我不是要解決編程問題; 我正在嘗試學習。 鑒於此 C++ 代碼: 使用VS2019; 上面設置的斷點。 在立即窗口中: 此外,在內存窗口中,在Address字段中輸入“class1”顯示:無法計算表達式。 在斷點處,我的問題是: 如何使用標識符“class1”在立即窗口中獲取 ...
[英]Can I call a C# function from the Immediate Window without compiling my whole project?
Back in my VB6 days, I could use the Immediate Window to run a quick sanity test on a function, even if the rest of my code was in a broken state: ...
[英]Serializing an IEnumerable of objects with Newtonsoft in Immediate Window chops the results
我們已經嘗試了在 class 中有效但在立即 Window 中失敗的代碼: 即使 Immediate Window 在每個命令后返回“表達式已被評估並且沒有值”,文件也只有 Json 的一部分:文件在一個單詞的中間突然結束。 關於如何解決這個問題的任何想法? ...
[英]How to show directories in vba's immediate window?
我想在vba的即時窗口中列出c: disk中的所有目錄,在即時窗口中編寫以下代碼: 現在點擊enter , 如何修復我的 vba 代碼以在 vba 的直接窗口中顯示c:中的所有目錄? ...
[英]Is it possible to execute a python(django) function immediately on vs code?
我想在調試時設置斷點時直接在vs code中執行python函數。 就像 Visual Studio 上的立即窗口一樣 ...
[英]Call an async method in the immediate window Visual Studio
我停在了一個斷點上,我需要觀察在這種情況下使用立即窗口調用異步函數的結果。 所以我試過了 “await”運算符只能在異步方法中使用。 考慮使用“async”修飾符標記此方法並將其返回類型更改為“Task”。 但是斷點已經在異步方法中了。 我也試過跑 “評估需要一個線程臨時運行 ...
[英]Execute With…End With Statement in Immediate window, Excel VBA
我正在嘗試在即時窗口中執行With ... End With語句, 但我沒有讓它工作。 所以我的問題是如何在即時窗口中執行與With ... End With語句有關的多行代碼? 我想在立即窗口中執行的代碼: 當然,它可以在立即窗口中編寫一行這樣的代碼(但這不能回答問題 ...
[英]How to search assemblies for types that implement desired generic interface
我正在搜索程序集以識別實現所需通用接口的任何類,以便我可以動態實例化一個實例。 這是我正在使用的代碼: 該代碼適用於標准類: 但不適用於泛型類: 事件更奇怪,代碼在中間窗口中運行時成功運行,但在單元測試框架內運行時則不行。 立即窗口返回2種類型,在調試器下運行的測試代 ...
[英]json_serializer.DeserializeObject, immediate window, VS2017
我是 ac# 初學者(但對 JavaScript 非常熟悉),我正在通過調試示例代碼來學習。 我現在有一個關於“立即窗口”的問題。 我在 然后在立即窗口中評估以下內容 到現在為止還挺好。 然后我試過了 但只得到“錯誤 CS0021:無法將 [] 索引應用於‘對象’類型的表達式”。 ...
[英]How can I run a foreach loop in the immediate window of visual studio?
我試圖使用Visual Studio 2017中的Immediate Window將值寫入文件。 我有一個名為_myItems的變量,其類型為Dictionary<int, Dictionary<int, List<int>>> 。 我確實遇到了這 ...
[英]How can I use the Visual Studio `Immediate Window` to call external assembly method?
如何部署程序集,以便您可以從“立即窗口”調用實用程序庫中的方法,而不必將解決方案項目引用添加到MyCompany.DebuggingTools.dll ? 語境 我編寫了一個實用程序庫(我們稱之為: MyCompany.DebuggingTools.dll ),其中包含在開發過程中對調試應用程序有 ...
[英]Execute Multiple Lines in the Immediate Window of an Excel VBA workbook
我是否只能在Excel VBA立即窗口中執行1條命令? 有沒有一種方法可以執行多個語句? ...
[英]Immediate window cannot find class in namespace
我的代碼中有一個這樣定位的方法 我嘗試使用以下命令從即時窗口調用它: 返回名稱空間錯誤: 類型或名稱空間名稱“ MyClass”在名稱空間“ ProjectName.DMR”中不存在 我也嘗試在調用中的名稱空間前添加項目名稱,但這並沒有改變任何內容。 我也許應 ...
[英]VS immediate window “identifier undefined” when querying DLL functions w/ namespace
我有一些 DLL 導出函數,我試圖從 VS2017 即時窗口內部調用這些函數。 C++ 頭文件中的函數如下所示: 但是,當我在代碼中的斷點處停止並在即時窗口中鍵入時 它返回 我可以在“std”命名空間中調用函數,但不能在我自己的命名空間中調用? 編輯:我做了一些更多的測試,當我的斷點 ...
[英]VS 2017 immediate window shows "Internal error in the C# compiler"
我使用 Visual Studio 2017 (15.6.6)。 調試時,我嘗試評估簡單的表達式,例如int a = 2; 在立即 window 中。 一個錯誤 C# 編譯器中的內部錯誤被拋出。 我嘗試按照此問題的提示啟用Use Managed Compatibility Mode ,但沒有幫助。 ...